/*
Theme Name: Bridge Child
Theme URI: http://bridgelanding.qodeinteractive.com/
Description: A child theme of Bridge Theme
Author: Qode Interactive
Author URI: https://qodeinteractive.com
Version: 1.0.0
Text Domain: bridge
Template: bridge
*/

/* GENERALE */
html {
  scroll-behavior: smooth;
}
.infobox-content .title {
	text-align: center;
}
.eael-infobox .infobox-icon img {
    border-radius: 5px 5px 0 0!important;
}
.eael-content-timeline-container {
	max-width: 100%!important;
}
#btn-head {
	border: 2px solid #27348B;
}
#btn-head:hover {
	border: 2px solid #fff;
}
.eael-advance-tabs .eael-tabs-nav>ul {
	gap: 5px;
}
.eael-testimonial-text p {
	color: #fff!important;
}
/* FINE GENERALE */

/* HEADER */
nav.mobile_menu ul li ul li a {
	text-transform: none!important;
}
header.sticky .header_bottom {
	backdrop-filter: blur(20px)!important;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
.header_bottom {
	background-color: #fff!important;
}
nav.main_menu ul li {
	transition: color .2s ease!important;
}
nav.main_menu > ul > li > a {
	padding: 0 12px;
}
nav.mobile_menu ul li a {
	padding: 6px 0;
}
.side_menu {
	background-color: #1d6f44ed !important;
	backdrop-filter: blur(10px) !important;
	background-image: url('https://mg-adv.com/fondazione-ravasi-garzanti/wp-content/uploads/2026/04/icon-alleanza-white.png') !important;
	background-repeat: no-repeat !important;
	background-position: bottom right !important;
	background-size: 300px !important;
	background-blend-mode: soft-light !important;
}
.drop_down .second .inner ul {
	background-color: rgba(255,255,255,0.7) !important;
	backdrop-filter: blur(10px);
}
li.narrow .second .inner ul {
	padding: 5px 0;
}
.drop_down .second .inner ul li:first-child a {
	padding-top: 5px;
}

.drop_down .second .inner>ul, li.narrow .second .inner ul {
	border-width: 0;
	border-color: transparent;
}

#nav-menu-item-11414 .second .inner ul li {
    width: 400px!important;
}

@media only screen and (max-width: 768px) {
	header .q_logo img.mobile {
		height: 80%!important;
	}
	.header_inner.clearfix {
		padding-top: 0 !important;
	}
}
@media only screen and (max-width: 1000px) {
	.header_bottom {
		background-color: #ffffffd4 !important;
		backdrop-filter: blur(10px) !important;
		box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
	}
	.q_logo a {
        left: -60%;
        width: auto !important;
    }
	nav.mobile_menu {
		background-color: transparent;
	}
}
/* FINE HEADER */

/* HEADER HOME */
.page-id-19 .header_bottom {
	background-color: transparent !important;
}
.page-id-19 header:not(.sticky_animate) .main_menu > ul > li > a span,
.page-id-19 header:not(.sticky_animate) .main_menu > ul > li > a {
	color: #fff !important;
	transition: color .3s ease!important;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3) !important;
}
.page-id-19 header:not(.sticky_animate) .main_menu > ul > li:hover > a span,
.page-id-19 header:not(.sticky_animate) .main_menu > ul > li:hover > a {
	color: #4086bc!important;
}
.page-id-19 header:not(.sticky_animate) .q_logo img.normal {
	content: url('https://mg-adv.com/fondazione-ravasi-garzanti/wp-content/uploads/2026/04/fondazioneravasi-garzanti-logo-dark-01.svg') !important;
}
.page-id-19 header.sticky_animate .q_logo img.normal {
	content: url('https://mg-adv.com/fondazione-ravasi-garzanti/wp-content/uploads/2026/04/fondazioneravasi-garzanti-logo-light-01.svg') !important;
}
/* FINE HEADER HOME */

/* VIDEO OPENING */
#frg-hero {
  width: 100%;
  height: 100vh;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  background: #111;
}

#frg-bg {
  position: absolute;
  inset: 0;
  background: url('https://mg-adv.com/fondazione-ravasi-garzanti/wp-content/uploads/2026/04/HomePage_LivioGarzanti_a-scaled-1.webp') center center / cover no-repeat;
  transition: opacity 0.6s ease;
}

#frg-bg.hidden {
  opacity: 0;
}

#frg-title {
  position: absolute;
  bottom: 170px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: 1400px;
  max-width: calc(100% - 60px);
  z-index: 2;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
}

#frg-title.out {
  transform: translateX(-50%) translateY(120px);
  opacity: 0;
}

#frg-title h1 {
  font-family: inherit;
  font-size: 44px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 1px 6px rgba(0, 0, 0, 0.6);
  margin: 0;
  text-align: center;
}

#frg-textbox {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: auto;
  max-width: calc(100% - 60px);
  background: #00000087;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 8px;
  padding: 15px 35px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
  z-index: 2;
  text-align: center;
  white-space: nowrap;
}

#frg-textbox.out {
  transform: translateX(-50%) translateY(120px);
  opacity: 0;
}

#frg-textbox p {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: #fff;
  margin-bottom: 22px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  text-align: center;
}

#frg-btn {
  display: inline-flex;
  align-items: center;
  background: #27348b;
  color: #fff;
  border: none;
  padding: 11px 28px;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease;
}

#frg-btn:hover {
  background: #3745a4;
  color: #fff;
}

#frg-video-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 3;
  cursor: pointer;
}

#frg-video-wrap.active {
  opacity: 1;
  pointer-events: all;
}

#frg-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#frg-pause-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#frg-pause-overlay.visible {
  opacity: 1;
}

#frg-pause-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

#frg-pause-icon span {
  display: block;
  width: 5px;
  height: 22px;
  background: #fff;
  border-radius: 2px;
}

#frg-close {
  position: absolute;
  top: 100px;
  right: 60px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 4;
}

#frg-close:hover {
  background: rgba(255, 255, 255, 0.35);
}

@media (max-width: 768px) {
  #frg-hero {
    height: 80vh;
  }

  #frg-title {
    bottom: 160px;
    left: 0;
    width: 100%;
    max-width: 100%;
    transform: translateY(0);
    padding: 0 20px;
    box-sizing: border-box;
  }

  #frg-title.out {
    transform: translateY(120px);
    opacity: 0;
  }

  #frg-title h1 {
    font-size: 25px;
    text-align: center;
  }

  #frg-textbox {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    transform: translateY(0);
    border-radius: 0;
    padding: 15px 20px;
    white-space: normal;
  }

  #frg-textbox.out {
    transform: translateY(120px);
    opacity: 0;
  }

  #frg-textbox p {
    font-size: 17px;
  }

  #frg-btn {
    display: block;
    margin: 0 auto;
    text-align: center;
  }

  #frg-close {
    top: 20px;
    right: 20px;
  }

  #frg-video {
    object-fit: cover;
  }
}
/* FINE VIDEO OPENING */

/* ARTICOLI */
.blog_holder.blog_single article .post_info {
	margin: 15px 0 15px;
}
/* FINE ARTICOLI */

/* COMUNICATI STAMPA */
.qode-btn.qode-btn-icon.qode-btn-simple .qode-button-v2-icon-holder {
	color: #1b3942;
}
/* FINE COMUNICATI STAMPA */

/* FOOTER */
.footer_top.footer_top_full {
	padding-top: 40px;
	padding-bottom: 40px;
}
.qi-block-advanced-text p,
.qi-block-advanced-text strong {
	font-size: 1rem;
	transition: all .3s;
}
.qi-block-advanced-text strong:hover {
	color: #eeee22;
}
.footer_top a:not(.qbutton) {
	text-transform: unset;
}

.footer_top .widget_nav_menu li.menu-item a {
	font-family: 'Roboto';
}
.footer_top .widget_nav_menu li.menu-item a:hover {
	color: #f3d737!important;
}
@media only screen and (max-width: 768px) {
	.footer_top .column_inner>div:not(.qode_separator_widget) {
		justify-items: center;
		text-align: center;
	}
	.footer_top, .footer_top.footer_top_full {
		padding-top: 50px;
		padding-bottom: 50px;
		padding-left: 20px;
		padding-right: 20px;
	}
	.footer_bottom_holder {
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.qi-block-advanced-text p,
	.qi-block-advanced-text strong {
    font-size: 0.9rem;
	}
}
/* FINE FOOTER */