@font-face {
  font-family: "Rubik-Light";
  src: url("../fonts/Rubik-Light.ttf");
}

@font-face {
  font-family: "Rubik-Medium";
  src: url("../fonts/Rubik-Medium.ttf");
}

@font-face {
  font-family: "Rubik-Bold";
  src: url("../fonts/Rubik-Bold.ttf");
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Rubik";
  src: url("../fonts/Rubik-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.ttf") format("truetype");
}

/* fonts */
.light {
  font-family: "Rubik-Light";
}

.bold {
  font-family: "Rubik-Bold";
}

.medium {
  font-family: "Rubik-Medium";
}

html {
  font-size: 16px;
}

.modal {
  z-index: 4000 !important;
}

.border-top-main-color {
  border-top: 2px solid var(--main-color);
}

select {
  color: #fff;
  min-height: 40px;
  min-width: 200px;
  border-radius: 7px;
  border: 1px solid var(--main-color);
}

select:focus,
select:focus-visible {
  box-shadow: var(--main-color);
  outline: unset !important;
}

.floating {
  animation-name: floating;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.btn-primary {
  color: var(--main-color) !important;
  background-color: #ffffff !important;
  border-color: unset !important;
  transition: 0.3s;
}

.btn-primary:hover {
  background-color: var(--main-color) !important;
  color: #ffffff !important;
  transition: 0.3s;
}

.fc-toolbar-chunk > .btn-group > .active {
  background-color: var(--main-color) !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  transition: 0.3s;
}

@keyframes floating {
  0% {
    transform: translate(0, 0px);
  }

  50% {
    transform: translate(0, 15px);
  }

  100% {
    transform: translate(0, -0px);
  }
}

.font-colore {
  color: var(--main-color) !important;
}

.iconhover,
.sliderhover,
.iconhover-font,
.button-back-font,
.font-colore,
.btn-messaggio,
.btn-eventi,
img,
a,
.navbar-brand {
  transition: 0.5s;
}

body,
html {
  width: 100%;
  max-width: 100%;
  overflow-x: unset;
  font-family: "Rubik-Light", sans-serif !important;
  font-size: 1rem;
  font-weight: normal;
  background: #fff;
  color: #000000;
  word-wrap: break-word;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a,
abbr,
acronym,
address,
applet,
b,
big,
blockquote,
body,
caption,
center,
cite,
code,
dd,
del,
dfn,
div,
dl,
dt,
em,
fieldset,
form,
h1,
h2,
h3,
h4,
h5,
h6,
html,
i,
iframe,
ins,
kbd,
label,
legend,
li,
object,
ol,
p,
pre,
q,
s,
samp,
small,
span,
strike,
strong,
sub,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
tr,
tt,
u,
ul,
var {
  border: 0;
  margin: 0;
  padding: 0;
  outline: 0;
  vertical-align: baseline;
}

.wfit {
  width: fit-content !important;
}

.hfit {
  height: fit-content !important;
}

.flex-control-nav {
  bottom: 5% !important;
}

a,
button {
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

a:hover {
  text-decoration: none;
}

a:focus,
a:active:focus,
button:focus,
button:active {
  outline: 0;
}

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

.main-color-text {
  color: var(--main-color) !important;
}

.main-border {
  border-color: 1px solid #ffffff;
}

.btn-main-bg {
  color: #ffffff;
  background-color: var(--main-color);
}

.btn-main-bg:hover {
  color: var(--main-color);
  background-color: #ffffff;
  border-color: var(--main-color);
}

.navbar-links {
  color: #ffffff;
}

.flex-direction-nav a:before {
  color: var(--main-color);
}

.navbar-nav > li > a {
  padding: 1.5rem 0.75rem;

  background: linear-gradient(
    transparent,
    transparent 50%,
    #ffffff 50%,
    #ffffff
  );
  background-size: 100% 200%;

  border-radius: 8px 8px 0px 0px;

  transition: background 0.3s;
}

.menu-attivo {
  background: unset !important;
  background-color: #ffffff !important;
  color: var(--main-color) !important;
}

.navbar-nav > li > a:hover {
  color: var(--main-color) !important;
  background-position: 100% 100%;
  transition: background 0.3s;
  border-color: 1px solid var(--main-color);
}

.navbar-unset {
  padding: 5px 0px !important;
}

.navbar-dark .navbar-toggler {
  color: var(--main-color);
  border-color: var(--main-color);
}

.w100px {
  min-width: 100px;
}

.img25x25 {
  width: 25px;
  height: 25px;
}

.img35x35 {
  width: 35px;
  height: 35px;
}

.mt-6 {
  padding-top: 2rem;
}

.img50x50 {
  width: 50px;
  height: 50px;
}

.iconhover:hover {
  transform: scale(1.2);
  transition: 0.3s;
}

.iconhover-font:hover {
  transform: scale(1.2);
  transition: 0.3s;
  color: var(--main-color) !important;
}

.inline-flex {
  display: inline-flex;
}

.glass {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark-glass {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8.4px);
  -webkit-backdrop-filter: blur(8.4px);
}

.home-header {
  height: 100vh;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.section-header {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.scuro {
  background-color: #00000090;
}

.piuscuro {
  background-color: #000000c2;
}

.powered {
  background-color: black;
  padding: 5px;
  font-size: 10px;
}

.scroll-interno {
  max-height: 80vh;
  overflow-y: auto;
}

.section-header ::-webkit-scrollbar,
.section-header ::-webkit-scrollbar-thumb,
.section-header ::-webkit-scrollbar-track {
  width: 7px;
  border: none;
  background: transparent;
}

.section-header ::-webkit-scrollbar-button,
.section-header ::-webkit-scrollbar-track-piece,
.section-header ::-webkit-scrollbar-corner,
.section-header ::-webkit-resizer {
  display: none;
}

.section-header ::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background-color: var(--main-color);
}

.section-header ::-webkit-scrollbar-track {
  background-color: var(--light-color);
  border-radius: 6px;
}

::-webkit-scrollbar,
::-webkit-scrollbar-thumb,
::-webkit-scrollbar-track {
  width: 7px;
  border: none;
  background: transparent;
}

::-webkit-scrollbar-button,
::-webkit-scrollbar-track-piece,
::-webkit-scrollbar-corner,
::-webkit-resizer {
  display: none;
}

::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background-color: var(--main-color);
}

::-webkit-scrollbar-track {
  background-color: var(--light-color);
  border-radius: 6px;
}

.img-eventi {
  background-size: 100%;
  height: 120px !important;
  width: 125px !important;
  border-radius: 5px;
}

.font60 {
  font-size: 60px;
  line-height: 4rem;
}

.font40 {
  font-size: 40px;
}

.font28 {
  font-size: 28px;
}

.font25 {
  font-size: 25px;
}

.font24 {
  font-size: 24px;
}

.font20 {
  font-size: 20px;
}

.font19 {
  font-size: 19px;
}

.font18 {
  font-size: 18px;
}

.font16 {
  font-size: 16px;
}

.font15 {
  font-size: 15px;
}

.font14 {
  font-size: 14px;
}

.font13 {
  font-size: 13px;
}

.font12 {
  font-size: 12px;
}

.font11 {
  font-size: 10px;
}

.px-2rem {
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

.mw600 {
  max-width: 600px;
}

.round {
  border-radius: 22px;
}

.lightround {
  border-radius: 8px;
}

.pl-4-m {
  padding-left: 1.5rem;
}

.input-no-border {
  border-style: unset !important;
  border-color: unset !important;
}

.rightround {
  border-radius: 0px 22px 22px 0px;
}

.leftround {
  border-radius: 22px 0px 0px 22px;
}

.btn {
  padding-left: 35px;
  padding-right: 35px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 18px;
}

.mh-100 {
  max-height: 100%;
}

.mh-400 {
  max-height: 400px;
}

.obj-fit {
  object-fit: cover;
  display: block;
  background-repeat: no-repeat;
  object-position: center center;
  width: 100%;
  height: 100%;
}

.color-radius-bottom {
  color: var(--main-color);
  border-radius: 0px 0px 22px 22px;
}

.pt-nav {
  padding-top: 80px;
}

.round-10 {
  border-radius: 10px;
}

.flex-direction-nav a {
  height: 50px !important;
}

.greytxt {
  color: #ebebeb;
}

.inline-flex {
  display: inline-flex;
}

.iconhover {
  transition: 0.3s;
}

.black-bg {
  background-color: #16151a;
}

.iconhover:hover {
  transform: scale(1.2);
  transition: 0.3s;
}

.logo-fit {
  display: inline-block;
  max-width: 200px;
}

.margin-30 {
  margin: 30px;
}

/* FullCalendar */

.fc-prev-button {
  margin-right: 0.5rem !important;
}

.fc-timeGridWeek-button {
  margin-right: 0.5rem !important;

  margin-left: 0.5rem !important;
}

.btn-primary:not(:disabled):not(.disabled).active:focus {
  box-shadow: unset !important;
}

.fc-today-button {
  background-color: var(--main-color) !important;
  color: #ffffff !important;
}

.fc-prev-button,
.fc-next-button,
.fc-today-button {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.fc-prev-button,
.fc-next-button,
.fc-today-button,
.fc-dayGridMonth-button,
.fc-timeGridWeek-button,
.fc-timeGridDay-button {
  border-radius: 8px !important;
}

.fc-header-toolbar {
  /*
    the calendar will be butting up against the edges,
    but let's scoot in the header's buttons
    */
  padding-top: 1em;
  padding-right: 1em;
}

.fc .fc-toolbar-title {
  text-align: center;
}

.fc-v-event {
  background-color: var(--main-color) !important;
  border: 3px solid var(--calendar-color) !important;
}

.fc-day-today {
  background-color: var(--light-color) !important;
}

.fc-view-harness ::-webkit-scrollbar,
.fc-view-harness ::-webkit-scrollbar-thumb,
.fc-view-harness ::-webkit-scrollbar-track {
  width: 7px;
  border: none;
  background: transparent;
}

.fc-view-harness ::-webkit-scrollbar-button,
.fc-view-harness ::-webkit-scrollbar-track-piece,
.fc-view-harness ::-webkit-scrollbar-corner,
.fc-view-harness ::-webkit-resizer {
  display: none;
}

.fc-view-harness ::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background-color: var(--main-color);
}

.fc-view-harness ::-webkit-scrollbar-track {
  background-color: var(--light-color);
  border-color: 1px solid #ffffff !important;
  border-radius: 6px;
}

.panel-custom {
  background-color: transparent;
  border: 1px solid #ffffff;
  font-size: 22px;
  padding: 0.5rem 1rem;
  border-radius: 10px;
}

.multimedia-dimensione {
  height: 450px;
  width: 90%;
}

.contenuto-multimediale {
  cursor: pointer;
  transition: 0.3s;
}

.contenuto-multimediale:hover {
  color: var(--main-color) !important;
  transition: 0.3s;
}

.divider {
  margin: 0 5px;
  color: #ffffff;
}

.percolso-item-current {
  font-weight: bold;
}

.botton-position {
  position: absolute;
  left: 0px;
  bottom: 20px;
}

.cut-text-multimedia {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cut-text {
  display: inline-block;
  max-width: 90%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mog {
  border-color: #ffffff !important;
  color: #ffffff !important;
}

.mog:hover {
  color: #0b0c0e !important;
  background-color: #ffffff !important;
}

.mog-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
  margin-right: 10px;
  padding: 5px 20px;
  background-color: #ffffff;
  border-radius: 30px;
  color: #0b0c0e;
}

/* MEDIA QUERY */
@media screen and (max-width: 1200px) {
  .logo-fit {
    max-width: 150px;
  }

  .multimedia-dimensione {
    width: 100%;
  }
}

@media screen and (max-width: 992px) {
  .flex-direction-nav {
    display: none;
  }

  .pl-4-m {
    padding-left: unset;
    padding-right: unset;
  }

  .hfit-md {
    height: fit-content !important;
  }

  .fc-dayGridMonth-button,
  .fc-timeGridWeek-button,
  .fc-timeGridDay-button {
    display: none;
  }

  .desktop {
    display: none !important;
  }

  .background-mobile {
    opacity: 0.9 !important;
    border-radius: 8px !important;
    background-color: #000000fb !important;
    text-align: center;
    padding: 20px;
  }

  .navbar-nav > li > a:hover {
    border-radius: 8px !important;
  }

  .pt-cell {
    padding-top: 3rem !important;
  }

  .pt-3-cell {
    padding-top: 1.5rem !important;
  }

  .logo-fit {
    max-width: 100px;
  }

  .border-line-lr-footer {
    border-top: 1px solid #ebebebb6;
    border-bottom: 1px solid #ebebebb6;
  }

  .pb-cell {
    padding-bottom: 3rem !important;
  }

  .ridfont {
    font-size: 80% !important;
  }

}

@media screen and (min-width: 992px) {
  .cell {
    display: none !important;
  }
  .pt-desk {
    padding-top: 3rem !important;
  }

  .bordo-nav {
    border-bottom: 1px solid #ffffff;
  }

  .border-line-lr-footer {
    border-left: 1px solid #ebebebb6;
    border-right: 1px solid #ebebebb6;
  }
}

@media screen and (max-width: 768px) {
  .screen-768-none {
    display: none;
  }

  .logo-fit {
    max-width: 60px;
  }

  .botton-position {
    position:unset;
  }

  .multimedia-dimensione {
    height: auto;
  }
}

@media (max-width: 576px) {
  .scrollbar-testo {
    max-height: 600px;
    overflow-y: auto;
  }

  .font-topslider-mobile {
    font-size: 50px !important;
  }

  .padding-contatti-mobile {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  .font25 {
    font-size: 20px;
  }

  .font16 {
    font-size: 13px;
  }

  .font14 {
    font-size: 12px;
  }

  .fc .fc-toolbar {
    display: block !important;
  }

  .rid-h2 {
    font-size: 1rem !important;
    width: max-content;
  }

  .screen-576-none {
    display: none;
  }

  .fc .fc-toolbar-title {
    padding-top: 1rem !important;
    text-align: center !important;
  }

  .nascondi-scrollbar ::-webkit-scrollbar,
  .nascondi-scrollbar ::-webkit-scrollbar-thumb,
  .nascondi-scrollbar ::-webkit-scrollbar-track,
  .nascondi-scrollbar ::-webkit-scrollbar-button,
  .nascondi-scrollbar ::-webkit-scrollbar-track-piece,
  .nascondi-scrollbar ::-webkit-scrollbar-corner,
  .nascondi-scrollbar ::-webkit-resizer {
    display: none !important;
  }

  .pl-4-m {
    padding-left: 10px !important;
    padding-right: 5px !important;
  }

  .px-0-576 {
    padding-right: 0px !important;
    padding-left: 0px !important;
  }

  .pl-3-576 {
    padding-left: 0.25rem !important;
  }
}

@media (min-width: 577px) {
  .fc-toolbar-chunk {
    display: flex;
  }

  .pl-3-576 {
    padding-left: 1rem !important;
  }
}
