/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

.link-black{
	color: #000 !important;
}

.overlay-bg {
  position: relative;
  overflow: hidden;
}

.overlay-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.card-logo{
  background-color: rgb(255, 255, 255);
  border-radius: 0.25rem !important;
  min-height: 90px;
}

.video-section {
  position: relative;
  width: 100%;
  height: 900px;
  overflow: hidden;
}

.video-section video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.video-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.dropdown-menu img {
  margin-right: 8px;
  border-radius: 2px;
}

#wrl .dropdown-toggle::after {
  vertical-align: middle !important;
}

#wrl .dropdown-menu {
  min-width: auto !important;
}

#wrl .dropdown-menu img {
  margin-right: 0 !important;
}

@media screen and (min-width:1440px) {
  .w-lg-25{
    width: 25% !important;
  }
}

@media screen and (max-width:1023px) {
  .w-lg-25{
    width: 50% !important;
  }
}

@media screen and (min-width:1024px) and (max-width:1439px) {
  .w-lg-25{
    width: 40% !important;
  }
}

@media screen and (max-width: 1200px){
  #header-mobile #primary-menu-trigger{
    display:block !important;
  }
}

nav.primary-menu .menu-container .menu-item:hover:not(#wrl) {
  opacity: .5;
}

@media screen and (min-width: 992px) and (max-width:1399px) {
  #header .menu-link{
    font-size:19px !important;
  }
}

@media screen and (min-width:992px) {
  .menu-link{
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 60px !important;
  }
}

body,
p,
span,
a,
li,
ul,
ol,
strong,
em,
small,
button,
input,
textarea,
select,
label,
h1, h2, h3, h4, h5, h6,
.menu-link,
.menu-item,
.navbar,
.primary-menu,
footer,
header,
.primary-menu .menu-container .menu-item .menu-link,
form label{
  font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif !important;
}

/* Centro il dropdown sotto l'icona world */
#header-mobile #wrl .dropdown-menu {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  text-align: center;
  min-width: auto;
  top: calc(100% + 10px) !important; /* sposta il menu più in basso */
}

#natural, #forza10, #babin {
  scroll-margin-top: 70px; /* cambia il valore a piacere */
}

html {
  scroll-behavior: smooth !important;
}