:root {
  --bs-body-font-family: Roboto;
  --bs-primary: #003366;
  --bs-primary-rgb: 0, 51, 102;
  --bs-secondary: #efae00;
  --bs-secondary-rgb: 239, 174, 0;
  --bs-tertiary: #ffdf00;
  --bs-link-color: #0752ca;
  --bs-link-hover-color: #0752ca;
  --bs-body-bg: #ffffff;
  --bs-body-color: #000;
  --bs-body-font-size: 1.1rem;
}

/*Footer ancorato bottom*/
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
}

footer {
  flex-shrink: 0;
  margin-top: auto;
}

/* fine Footer ancorato bottom*/

.row ul li,
.row ol li {
  margin-left: 3%;
}

h2 {
  font-weight: bold;
  font-size: 1.5rem;
}

#matomo-opt-out {
  font-size: 18px;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 20px;
}

/*Font*/
/*Regular*/
@font-face {
  font-family: "Mukta";
  src: url("./font/Mukta-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/*Light*/
@font-face {
  font-family: "Mukta";
  src: url("./font/Mukta-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

/*Semibold*/
@font-face {
  font-family: "Mukta";
  src: url("./font/Mukta-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

/*Bold*/
@font-face {
  font-family: "Mukta";
  src: url("./font/Mukta-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

/*Extra-bold*/
@font-face {
  font-family: "Mukta";
  src: url("./font/Mukta-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

body {
  font-family: "Mukta", sans-serif;
}

/*Fine font*/

.bg-tertiary {
  background-color: var(--bs-tertiary);
}

/*Immagine grande di sfondo del PRIMO modulo con immagine grande */
.background-image-container {
  background-image: url("./images/img2.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 50vh;
  position: relative;
}

@media screen and (min-width: 426px) and (max-width: 768px) {
  .background-image-container {
    height: 70vh;
  }
}

@media (max-width: 425px) {
  .background-image-container {
    height: 85vh;
  }
}

.background-image-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.721);
  z-index: 1;
}

/*Immagine grande di sfondo del primo modulo*/

/*Immagine grande di sfondo dell'ULTIMO modulo - travel planner */
.background-image-app {
  background-image: url("./images/Travel.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 50vh;
  position: relative;
  /* Necessario per usare ::after */
}

.background-image-app::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.721);
  z-index: 1;
}

/*Fine Immagine grande di sfondo dell'ULTIMO modulo*/

.accordion {
  --bs-accordion-active-color: #000;
  --bs-accordion-active-bg: var(--bs-tertiary);
  --bs-accordion-btn-focus-box-shadow: unset;
}

.accordion-body {
  background-color: #00336609;
}

button.accordion-button.collapsed:focus-visible {
  outline: 3px solid var(--bs-primary) !important;
  border: 3px solid var(--bs-primary) !important;
}

.accordion-button {
  font-size: 1.1rem;
}

/*
button:focus:not(:focus-visible) {
  outline: 3px solid var(--bs-primary);
}*/

.accordion-button:focus-visible {
  outline: 3px solid var(--bs-primary) !important;
  box-shadow: unset;
}

/*link*/
a {
  color: var(--bs-link-color);
  text-decoration: none;
  font-weight: bold;

  &:hover,
  &:active,
  &:focus {
    text-decoration: underline;
    color: var(--bs-link-hover-color);
  }

  &:focus-visible {
    outline: 3px solid var(--bs-primary);
  }
}

/*Fine*/

/* carousel card responsive */
.carousel-inner-card {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/*fine carousel card responsive*/

/*classi per modificare le frecce del carousel*/
.next-carousel-control,
.prev-carousel-control {
  position: unset;
  display: unset;
  padding: 0;
  width: unset;
  border: unset;
  background-color: unset;

  &:focus-visible {
    outline: 3px solid var(--bs-primary);
  }
}

/*FINE classi per modificare le frecce del carousel*/

/*FINE*/

/*Bottone primario*/
.btn-primary {
  font-weight: bold;
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: none;
  box-shadow: 2px 2px 5px -3px #000000;
  border-radius: 5px;
  --bs-btn-border-width: none;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--bs-primary);
  --bs-btn-hover-border-color: none;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--bs-primary);
  --bs-btn-active-border-color: none;
  --bs-btn-focus-shadow-rgb: 29, 41, 75;
  --bs-btn-active-shadow: none;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #6f7376;
  --bs-btn-disabled-border-color: #6f7376;

  &:hover,
  &:active {
    text-decoration: underline;
    box-shadow: none;
  }

  &:focus-visible {
    border: 3px solid #fff;
    box-shadow: none;
  }
}

.btn-close:focus-visible {
  outline: 4px solid #e6191d !important;
}

.btn-close:focus {
  border: 0 0 6px #e6191d !important;
}

/*FINE*/

/*Bottone secondario*/

.btn-secondary {
  font-weight: bold;
  --bs-btn-color: #000000;
  --bs-btn-bg: var(--bs-secondary);
  --bs-btn-border-color: none;
  box-shadow: 2px 2px 5px -3px #000000;
  border-radius: 5px;
  --bs-btn-border-width: none;
  --bs-btn-hover-color: #000000;
  --bs-btn-hover-bg: var(--bs-secondary);
  --bs-btn-hover-border-color: none;
  --bs-btn-active-color: #000000;
  --bs-btn-active-bg: var(--bs-secondary);
  --bs-btn-active-border-color: none;
  --bs-btn-active-shadow: none;
  --bs-btn-focus-shadow-rgb: 29, 41, 75;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #6f7376;
  --bs-btn-disabled-border-color: #6f7376;

  &:hover,
  &:active {
    text-decoration: underline;
    box-shadow: none;
  }

  &:focus-visible {
    border: 3px solid var(--bs-primary);
    box-shadow: none;
  }
}

/*FINE*/

/* Comportamento hover per le card notizie */
.card {
  border-radius: 1.5rem;
}

a.txt-black {
  color: #000 !important;
  text-decoration: none;
}

a.txt-black .card-text {
  text-decoration: none !important;
  font-weight: normal;
}

a.txt-black:hover .card-title {
  text-decoration: underline;
}

a:hover .card-body {
  background-color: var(--bs-tertiary);
}

/*fine*/

/* LG breakpoint */
@media (min-width: 992px) {

  /* CUSTOM WIDTHS */
  .w-lg-25 {
    width: 25% !important;
  }

  .w-lg-50 {
    width: 50% !important;
  }

  .w-lg-75 {
    width: 75% !important;
  }

  .w-lg-100 {
    width: 100% !important;
  }
}

/* MD breakpoint*/
@media (max-width: 768px) {

  /* CUSTOM WIDTHS */
  .w-md-25 {
    width: 25% !important;
  }

  .w-md-50 {
    width: 50% !important;
  }

  .w-md-75 {
    width: 75% !important;
  }

  .w-md-100 {
    width: 100% !important;
  }
}

/* SM breakpoint */
@media (max-width: 576px) {

  /* CUSTOM WIDTHS */
  .w-sm-25 {
    width: 25% !important;
  }

  .w-sm-50 {
    width: 50% !important;
  }

  .w-sm-75 {
    width: 75% !important;
  }

  .w-sm-100 {
    width: 100% !important;
  }
}

.img-fixed {
  aspect-ratio: 16/9;
  width: 100%;
  object-fit: cover;
}

.offcanvas {
  max-width: 80%;
}

/*card pag aggregazione */
.ag-courses_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: stretch;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 50px 0;
}

.ag-courses_item {
  -ms-flex-preferred-size: calc(33.33333% - 30px);
  flex-basis: calc(33.33333% - 30px);
  margin: 0 15px 30px;
  overflow: hidden;
  border-radius: 20px;
  height: 300px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.ag-courses-item_link {
  display: block;
  padding: 30px 20px;
  background-color: #fff;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  height: 300px;
}

.ag-courses-item_link:hover,
.ag-courses-item_link:hover .ag-courses-item_date {
  text-decoration: underline;
  color: #000;
}

.ag-courses-item_link:hover .ag-courses-item_bg {
  -webkit-transform: scale(10);
  -ms-transform: scale(10);
  transform: scale(10);
}

.ag-courses-item_title {
  min-height: 87px;
  margin: 12px 0 25px;
  overflow: hidden;
  font-weight: bold;
  font-size: 30px;
  color: #000;
  z-index: 1;
  position: relative;
}

.ag-courses-item_bg {
  width: 100%;
  height: 20vh;
  background-image: url("./images/new_file/LiguriaGO_QR.png");
  object-fit: contain;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

/* Biglietti */
.logo-biglietti {
  width: 53%;
  object-fit: cover;
  display: block;
}

@media (max-width: 500px) {
  .logo-biglietti {
    width: 48%;
    object-fit: cover;
    display: block;
  }
}

@media only screen and (min-width: 501px) and (max-width: 575px) {
  .logo-biglietti {
    width: 45%;
    object-fit: cover;
    display: block;
  }
}

@media only screen and (min-width: 576px) and (max-width: 768px) {
  .logo-biglietti {
    width: 45%;
    object-fit: cover;
    display: block;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .logo-biglietti {
    width: 32%;
    object-fit: cover;
    display: block;
  }
}

@media only screen and (min-width: 991px) and (max-width: 1199px) {
  .logo-biglietti {
    width: 35%;
    object-fit: cover;
    display: block;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .logo-biglietti {
    width: 60%;
    object-fit: cover;
    display: block;
  }
}

.logo-biglietti-pag {
  width: 75%;
  object-fit: cover;
  display: block;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .logo-biglietti-pg {
    width: 80%;
    object-fit: cover;
    display: block;
  }
}