@import url("https://fonts.googleapis.com/css?family=Muli:300,400,600,700");
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&display=swap");
@font-face {
  font-family: "Hanoded-LemonYellowSun";
  src: url("../font/Hanoded-LemonYellowSun.woff2") format("woff2"), url("../font/Hanoded-LemonYellowSun.woff") format("woff"), url("../font/Hanoded-LemonYellowSun.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
h1, .h1 {
  font-size: 2.5rem;
}

h2, .h2 {
  font-size: 2.5rem;
}

h3, .h3 {
  font-size: 1.75rem;
}

h4, .h4 {
  font-size: 1.5rem;
}

h5, .h5 {
  font-size: 1.25rem;
}

h6, .h6 {
  font-size: 1rem;
}

body {
  font-family: "Muli", sans-serif;
  color: #555;
  line-height: 1.6em;
  scroll-behavior: smooth;
  word-break: break-word;
}

h1, h2, h3, h4, h5, h6 {
  text-transform: uppercase;
  color: #111;
  font-weight: 600;
}
h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong {
  color: #e30613;
}

.corsivo h1, .corsivo h2, .corsivo h3, .corsivo h4, .corsivo h5, .corsivo h6 {
  font-family: "Hanoded-LemonYellowSun", cursive;
  text-transform: inital;
}

a {
  color: #e30613;
}
a:hover {
  color: rgb(177.313304721, 4.686695279, 14.8412017167);
}

header {
  padding-top: 20px;
}
header button {
  text-transform: uppercase;
}
header .social-topbar a:hover {
  opacity: 0.7;
}
header .social-topbar img {
  width: 36px;
}

.navbar {
  padding: 1rem 0;
}
.navbar .navbar-nav {
  margin: 0 auto;
}

.navbar-dark .navbar-nav .nav-link {
  color: white;
  text-transform: uppercase;
  font-weight: 600;
}

.navbar-nav .nav-link {
  font-size: 14px;
}

footer {
  font-size: 14px;
}
footer a {
  color: white !important;
}

section {
  padding: 20px 0;
}

.btn-lg, .btn-group-lg > .btn {
  font-size: 1rem;
  font-weight: 600;
}

.btn {
  text-transform: uppercase;
}

.large-hr {
  display: block;
  border-bottom: 3px solid #555;
  margin: 40px auto;
}

.bg-dark {
  color: white;
}
.bg-dark hr {
  border-color: white;
}
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6 {
  color: white;
}

.bg-red {
  background-color: #e30613;
  color: white;
}
.bg-red hr {
  border-color: white;
}
.bg-red h1, .bg-red h2, .bg-red h3, .bg-red h4, .bg-red h5, .bg-red h6 {
  color: white;
}

.bg-azzurro {
  background-color: #6CC9EA;
}

.bg-medio {
  background-color: #ededed;
}

.bg-texture-red {
  background: url("../images/Bg-texture-white.png") #e30613;
}

.bg-texture-azzurro {
  background: url("../images/Bg-texture-white.png") #6CC9EA;
}

.bg-texture-green {
  background: url("../images/Bg-texture-green.png") white;
}

.btn-primary {
  color: #fff !important;
  background-color: #e30613;
  border-color: #e30613;
}
.btn-primary:hover {
  background-color: rgb(177.313304721, 4.686695279, 14.8412017167);
  border-color: rgb(177.313304721, 4.686695279, 14.8412017167);
}

.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-primary.dropdown-toggle:focus, .btn-primary:focus, .btn-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(227, 6, 19, 0.5);
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {
  background-color: #e30613;
  border-color: #e30613;
}

.btn-outline-primary {
  color: #e30613;
  border-color: #e30613;
}
.btn-outline-primary:hover {
  background-color: rgb(177.313304721, 4.686695279, 14.8412017167);
  border-color: rgb(177.313304721, 4.686695279, 14.8412017167);
}

.btn-success {
  color: #fff !important;
}

.btn-primary.disabled, .btn-primary:disabled {
  color: #fff;
  background-color: #999;
  border-color: #999;
}

.badge-primary, a.badge-primary {
  background-color: #e30613;
  border-color: #e30613;
}
.badge-primary:hover, a.badge-primary:hover {
  background-color: rgb(177.313304721, 4.686695279, 14.8412017167);
  border-color: rgb(177.313304721, 4.686695279, 14.8412017167);
}

a.badge-primary:hover, a.badge-primary:focus {
  background-color: rgb(177.313304721, 4.686695279, 14.8412017167);
  border-color: rgb(177.313304721, 4.686695279, 14.8412017167);
}

.badge-lab, a.badge-lab {
  background-color: #F5DD1A;
  border-color: #F5DD1A;
  color: black;
}
.badge-lab:hover, a.badge-lab:hover {
  background-color: rgb(210.7949790795, 188.7029288703, 9.2050209205);
  border-color: rgb(210.7949790795, 188.7029288703, 9.2050209205);
}

a.badge-lab:hover, a.badge-lab:focus {
  background-color: rgb(210.7949790795, 188.7029288703, 9.2050209205);
  border-color: rgb(210.7949790795, 188.7029288703, 9.2050209205);
}

.bg-rosso {
  background-color: #e30613;
  color: white;
}
.bg-rosso h1, .bg-rosso h2, .bg-rosso h3, .bg-rosso h4, .bg-rosso h5, .bg-rosso h6 {
  color: white;
}
.bg-rosso .btn-primary {
  color: #e30613 !important;
  background-color: white;
  border-color: white;
}
.bg-rosso .btn-primary:hover {
  background-color: #ccc;
  border-color: #ccc;
}

.border-primary {
  border: 4px solid #e30613 !important;
}

.border-green {
  border: 4px solid #28a745 !important;
}

.btn-download {
  display: block;
}
.btn-download img {
  width: 40px;
}
.btn-download:hover {
  opacity: 0.7;
  text-decoration: none;
}

.bg-light .btn-download {
  color: #e30613;
}
.bg-light .btn-download:hover {
  color: #e30613;
}

.bg-dark .btn-download {
  color: white !important;
}
.bg-dark .btn-download:hover {
  color: white;
}

.breadcrumb li {
  text-transform: uppercase;
  font-weight: bold;
}

.badge {
  word-break: break-word;
  white-space: normal;
}

.has-error input {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
  background-repeat: no-repeat;
  background-position: center right calc(0.375em + 0.1875rem);
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.has-error select {
  border-color: #dc3545;
  padding-right: calc((1em + 0.75rem) * 3 / 4 + 1.75rem);
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px, url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E") #fff no-repeat center right 1.75rem/calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.has-error textarea {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
  background-repeat: no-repeat;
  background-position: center right calc(0.375em + 0.1875rem);
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.has-error .help-block {
  width: 100%;
  margin-top: 0.25rem;
  font-size: 80%;
  color: #dc3545;
}

form .required label:after {
  content: " *";
}
form .required .radio label {
  font-size: 80%;
  font-weight: 400;
}
form .required .radio label:after {
  content: "";
}

.radio {
  width: auto;
  display: inline-block;
  margin-right: 20px;
}

.material-switch > input[type=checkbox] {
  display: none;
}
.material-switch > label {
  cursor: pointer;
  height: 0px;
  position: relative;
  width: 40px;
}
.material-switch > label:before {
  background: #28a745;
  box-shadow: inset 0px 0px 10px rgba(40, 167, 69, 0.5);
  border-radius: 8px;
  content: "";
  height: 16px;
  margin-top: -8px;
  position: absolute;
  opacity: 0.3;
  transition: all 0.4s ease-in-out;
  width: 40px;
  display: block;
}
.material-switch > label:after {
  background: #28a745;
  border-radius: 16px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  content: "";
  height: 24px;
  left: -4px;
  margin-top: -8px;
  position: absolute;
  top: -4px;
  transition: all 0.3s ease-in-out;
  width: 24px;
}
.material-switch > input[type=checkbox]:checked + label::before {
  background: inherit;
  opacity: 0.5;
}
.material-switch > input[type=checkbox]:checked + label::after {
  background: inherit;
  left: 20px;
}
.material-switch .label-primary {
  background-color: #e30613;
}

.carousel-indicators li {
  background-color: #343a40;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
  fill: #343a40;
  filter: invert(1);
}

.carousel-control-prev, .carousel-control-next {
  width: 5%;
}

.section-hp-news {
  text-align: center;
}
.section-hp-news h2 {
  text-align: center;
}
.section-hp-news img {
  max-width: 120px;
}

.accordion .btn {
  color: #e30613;
}
.accordion .card h6 {
  margin-top: 30px;
}

.scrollspy {
  max-height: 200px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.alert-top {
  position: fixed;
  top: 30%;
  left: 10px;
  width: calc(100% - 20px);
  z-index: 100;
}
.alert-top .alert {
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
  padding: 60px;
  text-align: center;
  font-size: 22px;
  text-transform: uppercase;
}

.pagination li a, .pagination li span {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #e30613;
  background-color: #fff;
  border: 1px solid #dee2e6;
}
.pagination li span {
  color: #ccc;
}
.pagination .active a {
  background-color: #e30613;
  color: #fff;
}

.gestisci-box .box {
  position: relative;
}
.gestisci-box .box .status {
  margin-bottom: 20px;
}
@media only screen and (min-width: 768px) {
  .gestisci-box .box .status {
    position: absolute;
    right: 20px;
    top: 15px;
  }
}

.centra-verticale {
  position: relative;
}
.centra-verticale span {
  position: absolute;
  top: calc(50% - 20px);
  left: 0;
  right: 0;
}

.footer-landing .social-topbar img {
  width: 36px;
}

.cosa-devi-fare .success {
  display: none;
}
.cosa-devi-fare .bg-done + .success {
  display: block;
  background-color: #28a745;
  padding: 8px 4px;
  border-radius: 3px;
  margin: 10px 0;
  color: #28a745;
  color: #fff;
  position: relative;
}
.cosa-devi-fare .bg-done + .success img {
  width: 24px;
  position: absolute;
  left: 10px;
}

.img-upload {
  border-radius: 4px;
}
.img-upload img {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: block;
}
.img-upload label {
  display: block;
  border: 1px solid #dee2e6;
  padding: 5px 10px;
  border-radius: 5px;
  position: relative;
  height: 45px;
  line-height: 32px;
}
.img-upload label:after {
  content: "sfoglia";
  right: 0;
  position: absolute;
  display: block;
  top: 0;
  background: #dee2e6;
  border-radius: 4px;
  padding: 6px 15px;
  text-transform: uppercase;
}
.img-upload input[type=file] {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  white-space: nowrap;
  width: 1px;
}

.section-list p {
  vertical-align: middle;
}

.testimonial-list img {
  width: 50px;
}
.testimonial-list a:hover {
  opacity: 0.7;
}

.section-articolo p img {
  margin-bottom: 24px;
}
@media only screen and (min-width: 768px) {
  .section-articolo p img {
    float: left;
    width: 500px;
    max-width: 100%;
    margin-right: 24px;
  }
}

.banner-progetto img {
  width: 280px;
  margin-bottom: 20px;
}
@media only screen and (min-width: 768px) {
  .banner-progetto img {
    width: 200px;
    margin-bottom: 0;
  }
}

.block-storie a {
  color: #000;
}
.block-storie a:hover {
  color: #e30613;
  text-decoration: none;
}
.block-storie a:hover h3 {
  color: #e30613;
}
.block-storie a:hover img {
  opacity: 0.7;
}
.block-storie .badge-primary, .block-storie .btn {
  color: #fff;
}
.block-storie .badge-primary:hover, .block-storie .btn:hover {
  color: #fff;
}

@media only screen and (min-width: 768px) {
  .storie-contributo img {
    width: 50%;
  }
}

.block-testo-immagine {
  text-align: center;
}
@media only screen and (min-width: 768px) {
  .block-testo-immagine {
    text-align: left;
  }
  .block-testo-immagine .flex-row-reverse {
    text-align: right;
  }
}

.side-border {
  border: 1px solid #dee2e6;
  border-top: none;
}

@media only screen and (min-width: 768px) {
  .gemellaggio-switch {
    position: absolute;
    top: 15px;
    right: 15px;
  }
}
.gemellaggio-switch span {
  display: inline-block;
  margin-right: 15px;
  vertical-align: top;
  margin-top: 5px;
}
.gemellaggio-switch form {
  display: inline-block;
  margin-top: 2px;
}

#top-reminder {
  position: fixed;
  top: 1em;
  left: 1em;
  border-radius: 10px;
  padding: 0 20px;
  max-width: 50%;
  z-index: 999;
  text-align: center;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
}
#top-reminder img, #top-reminder p {
  display: inline-block;
}
#top-reminder img {
  width: 50px;
}

.top-10-section {
  margin-bottom: 3em;
}
.top-10-section .form-group {
  margin-bottom: 0 !important;
}

.ui-menu {
  max-height: 300px !important;
  overflow-x: hidden !important;
}
.ui-menu .ui-menu-item {
  font-family: "Muli", sans-serif;
  font-size: 16px;
}
.ui-menu .ui-menu-item .ui-state-active {
  background: #e30613 !important;
  color: white;
  border: none;
}

.list-badge {
  position: absolute;
  right: 1em;
}

.section-event .collapsing {
  margin: 0 -15px;
  padding: 0 15px;
}
.section-event .card {
  margin-bottom: 10px;
}

.aggiungi-libro a {
  color: #343a40;
}
.aggiungi-libro a:hover {
  text-decoration: none !important;
}
.aggiungi-libro .box-aggiungi-libro hr {
  border-color: rgb(150.1724137931, 160, 169.8275862069);
}
.aggiungi-libro .box-aggiungi-libro:hover {
  background-color: rgb(203.5, 203.5, 203.5) !important;
}

.section-event .card {
  border: none;
  background-color: none;
}
.section-event .card .card-top .date-box {
  background-color: #e30613;
  text-align: center;
  width: 100%;
  height: 90%;
  min-height: 100px;
  position: relative;
}
.section-event .card .card-top .date-box h5 {
  position: absolute;
  width: 100%;
  text-align: center;
  top: calc(50% - 2em);
  font-size: 18px;
}
@media screen and (min-width: 480px) {
  .section-event .card .card-top .date-box h5 {
    font-size: 22px;
  }
}

.section-hp-counter .counter-text {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.section-hp-counter .counter-number {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}
.section-hp-counter .counter-number h2 {
  font-size: 80px;
}
.section-hp-counter .counter-number h4 {
  font-size: 40px;
}

.table-responsive-fix table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}
.table-responsive-fix table caption {
  font-size: 1.5em;
  margin: 0.5em 0 0.75em;
}
.table-responsive-fix table tr {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  padding: 0.35em;
}
.table-responsive-fix table th {
  padding: 0.625em;
  text-align: center;
  font-size: 0.85em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.table-responsive-fix table td {
  padding: 0.625em;
  text-align: center;
  word-wrap: anywhere;
  word-break: break-word;
}
@media screen and (max-width: 480px) {
  .table-responsive-fix table {
    border: 0;
  }
  .table-responsive-fix table caption {
    font-size: 1.3em;
  }
  .table-responsive-fix table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  .table-responsive-fix table tr {
    display: block;
    margin-bottom: 0.625em;
  }
  .table-responsive-fix table td {
    display: block;
    font-size: 0.8em;
    text-align: right;
    word-break: break-word;
  }
  .table-responsive-fix table td:before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  .table-responsive-fix table td:first-child {
    border-top: 0;
  }
}

.table-no-responsive td, .table-no-responsive th {
  display: table-cell;
  border-top: none;
}
.table-no-responsive thead {
  position: relative;
}
.table-no-responsive thead th {
  border: none;
}

@media screen and (min-width: 480px) {
  .top-10-banner {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 320px;
    z-index: 999;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  }
}

.table-top-10 .form-control:disabled, .table-top-10 .form-control[readonly] {
  background-color: transparent;
  border: none;
}
.table-top-10 td {
  vertical-align: middle !important;
}
.table-top-10 th {
  vertical-align: middle !important;
}

.donazione-modifica-lista table tbody tr td:last-child, .donazione-modifica-lista table tbody tr td:first-child {
  word-break: initial;
}
.donazione-modifica-lista table tbody tr td button {
  margin-bottom: 5px;
}

.datetimepicker table, .datepicker table {
  width: 400px;
  max-width: 100%;
}
.datetimepicker th, .datepicker th {
  width: auto !important;
}
.datetimepicker td, .datepicker td {
  width: auto !important;
}

.popover {
  max-width: 100% !important;
  width: 600px;
}

.datetimepicker .next span.glyphicon::after {
  content: ">";
}

.datetimepicker .prev span.glyphicon::after {
  content: "<";
}

.web-app {
  padding-top: 35px;
}
.web-app h2 {
  font-size: 2em;
}

.flip-clock-wrapper {
  width: 620px !important;
  max-width: 100%;
  padding: 2em 0;
}

.ticker1 ul {
  list-style: none;
  width: 100%;
}
.ticker1 ul li {
  text-align: center;
}

.theme-lab .section-title .bg-rosso {
  background-color: transparent !important;
  padding: 10px 0 !important;
}
.theme-lab .section-title h1, .theme-lab .section-title h2, .theme-lab .section-title h3, .theme-lab .section-title h4, .theme-lab .section-title h5, .theme-lab .section-title p {
  color: #e30613;
}
.theme-lab .block-testo-immagine .col-md-6 {
  background-color: transparent !important;
}
.theme-lab .block-testo-immagine .col-md-6 h1, .theme-lab .block-testo-immagine .col-md-6 h2, .theme-lab .block-testo-immagine .col-md-6 h3, .theme-lab .block-testo-immagine .col-md-6 h4, .theme-lab .block-testo-immagine .col-md-6 h5, .theme-lab .block-testo-immagine .col-md-6 p {
  color: #343a40 !important;
}
.theme-lab .block-2-box {
  background-color: transparent !important;
}
.theme-lab .section-carousel .carousel {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px) {
  .theme-lab .section-carousel .carousel {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .theme-lab .section-carousel .carousel {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .theme-lab .section-carousel .carousel {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .theme-lab .section-carousel .carousel {
    max-width: 1140px;
  }
}
.theme-lab header {
  padding-top: 10px;
}
@media (min-width: 768px) {
  .theme-lab header {
    padding-top: 20px;
  }
}
.theme-lab header .btn {
  background-color: white;
  color: #e30613;
  font-weight: 600;
  margin-bottom: 5px;
}
.theme-lab header .btn:hover {
  text-decoration: none;
  background-color: #e5e5e5;
}
.theme-lab .top-logo-lab {
  padding: 10px;
  background: white;
  border-radius: 10px;
  width: fit-content;
  margin-left: auto;
}
.theme-lab .top-logo-lab img {
  height: 50px;
}
@media (min-width: 768px) {
  .theme-lab .top-logo-lab {
    padding: 10px 30px;
    margin: 0 auto;
    border-radius: 20px;
  }
  .theme-lab .top-logo-lab img {
    height: auto;
  }
}
.theme-lab .navbar {
  padding: 0;
}
@media (min-width: 768px) {
  .theme-lab .navbar .navbar-nav .nav-item {
    margin-right: 1em;
  }
  .theme-lab .navbar .navbar-nav .nav-item:last-child {
    margin-right: 0;
  }
}

.theme-nidi .section-title .bg-rosso {
  background-color: transparent !important;
  padding: 10px 0 !important;
}
.theme-nidi .section-title h1, .theme-nidi .section-title h2, .theme-nidi .section-title h3, .theme-nidi .section-title h4, .theme-nidi .section-title h5, .theme-nidi .section-title p {
  color: #6CC9EA;
}
.theme-nidi .block-testo-immagine .col-md-6 {
  background-color: transparent !important;
}
.theme-nidi .block-testo-immagine .col-md-6 h1, .theme-nidi .block-testo-immagine .col-md-6 h2, .theme-nidi .block-testo-immagine .col-md-6 h3, .theme-nidi .block-testo-immagine .col-md-6 h4, .theme-nidi .block-testo-immagine .col-md-6 h5, .theme-nidi .block-testo-immagine .col-md-6 p {
  color: #343a40 !important;
}
.theme-nidi .block-testo-immagine .col-md-6 img {
  border-radius: 20px;
}
.theme-nidi .block-2-box {
  background-color: transparent !important;
}
.theme-nidi .section-list h1, .theme-nidi .section-list h2, .theme-nidi .section-list h3, .theme-nidi .section-list h4, .theme-nidi .section-list h5 {
  color: #6CC9EA;
  font-family: "Caveat", cursive;
}
.theme-nidi .section-carousel {
  background: url("../images/bg-nidi-verde.jpg") no-repeat center center;
  background-size: cover;
  padding: 20px 0 !important;
}
.theme-nidi .section-carousel .carousel {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px) {
  .theme-nidi .section-carousel .carousel {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .theme-nidi .section-carousel .carousel {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .theme-nidi .section-carousel .carousel {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .theme-nidi .section-carousel .carousel {
    max-width: 1140px;
  }
}
.theme-nidi .video-embed {
  background: url("../images/bg-nidi-azzurro.jpg") no-repeat center center;
  background-size: cover;
}
.theme-nidi header {
  padding-top: 10px;
}
@media (min-width: 768px) {
  .theme-nidi header {
    padding-top: 20px;
  }
}
.theme-nidi header .btn {
  background-color: white;
  color: #e30613;
  font-weight: 600;
  margin-bottom: 5px;
}
.theme-nidi header .btn:hover {
  text-decoration: none;
  background-color: #e5e5e5;
}
.theme-nidi .navbar {
  padding: 0;
  background-color: #91C13D !important;
}
@media (min-width: 768px) {
  .theme-nidi .navbar .navbar-nav .nav-item {
    margin-right: 1em;
  }
  .theme-nidi .navbar .navbar-nav .nav-item:last-child {
    margin-right: 0;
  }
}
.theme-nidi .top-logo-lab {
  padding: 0 10px 10px;
  background: white;
  border-radius: 10px;
  width: fit-content;
  margin-left: auto;
}
.theme-nidi .top-logo-lab img {
  height: 50px;
}
@media (min-width: 768px) {
  .theme-nidi .top-logo-lab {
    padding: 0 30px 10px;
    margin: 0 auto;
    border-radius: 20px;
  }
  .theme-nidi .top-logo-lab img {
    height: auto;
  }
}
.theme-nidi .section-lab-libri .lab-libri-box {
  padding: 20px;
  border: 2px dashed #6CC9EA;
  border-radius: 20px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .theme-nidi .section-lab-libri .lab-libri-box {
    padding: 30px;
  }
}
.theme-nidi .section-lab-libri .lab-libri-box img {
  margin-bottom: 20px;
  max-height: 300px;
}
.theme-nidi .section-lab-libri .lab-libri-box h3 {
  text-transform: initial;
  font-weight: 400;
  color: #343a40;
}
.theme-nidi .section-lab-libri .lab-libri-box p {
  color: #343a40;
  line-height: 1.3em;
}
.theme-nidi .section-lab-libri .lab-libri-box .lab-libri-btn {
  background: #91C13D;
  border-radius: 10px;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  text-align: left;
  align-items: center;
}
.theme-nidi .section-lab-libri .lab-libri-box .lab-libri-btn img {
  margin: 0 20px 0 10px;
  max-width: 60px;
}
.theme-nidi .section-lab-libri .lab-libri-box .lab-libri-btn p {
  font-family: "Hanoded-LemonYellowSun", cursive;
  text-transform: uppercase;
  color: white;
  margin: 0;
  line-height: 1.1em;
  font-size: 20px;
}
.theme-nidi .section-lab-libri .lab-libri-box .lab-libri-btn:hover {
  text-decoration: none;
  background-color: rgb(115.8858267717, 154.2480314961, 48.7519685039);
}

.lab-wide-hero {
  position: relative;
  margin-bottom: 40px;
}
.lab-wide-hero .bg-image-container {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  position: absolute;
}
.lab-wide-hero .bg-image-container .bg-image {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 50%;
}
@media (min-width: 768px) {
  .lab-wide-hero .bg-image-container .bg-image {
    height: 100%;
  }
}
.lab-wide-hero .container {
  z-index: 10;
  position: relative;
  margin-top: 200px;
}
@media (min-width: 768px) {
  .lab-wide-hero .container {
    margin-top: 0;
  }
}
.lab-wide-hero .box-content {
  border-radius: 18px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
.lab-wide-hero .logo-float {
  width: 200px;
  background: white;
  border: 1px solid #16447A;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .lab-wide-hero .logo-float {
    position: absolute;
    right: 0;
    bottom: 1.5rem;
  }
}
.lab-wide-hero .logo-float img {
  padding: 1em;
  image-rendering: crisp-edges;
}
.lab-wide-hero .logo-float .logo-float-text {
  padding: 3px 6px;
  color: white;
  background-color: #16447A;
}
.lab-wide-hero .logo-float .logo-float-text p {
  margin: 0;
  font-size: 12px;
}
@media (min-width: 768px) {
  .lab-wide-hero .logo-left {
    right: auto;
    left: 0;
  }
}

.nidi-text-banner .text-container {
  border: 2px dashed #6CC9EA;
  border-radius: 10px;
  padding: 10px;
}
.nidi-text-banner .text-container p {
  font-family: "Caveat", cursive;
  text-align: center;
  color: #6CC9EA;
  font-size: 24px;
  line-height: 1.3em;
  margin: 0;
}
.nidi-text-banner .text-container p b, .nidi-text-banner .text-container p strong {
  color: #6CC9EA;
}
