/* ============================================================
   ICONS – critical.css
   Typography, color branding, page sections, components
   Primary:  #0068B3  |  Dark navy: #1a2c5b  |  Font: Lato
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@200;300;400;800;900&display=swap');
 

/* ── RALEWAY OVERRIDES ── */
body { font-family: 'Raleway', sans-serif; }
h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6 { font-family: 'Raleway', sans-serif; }
.btn, button { font-family: 'Raleway', sans-serif; font-weight: 800; }
header .mod-menu a, header .mod-menu__heading,
header ul.mod-menu li a, header ul.mod-menu li span,
.navbar-nav > li > a { font-family: 'Raleway', sans-serif; font-weight: 800; }
.eyebrow-number, .stat-title, .nspText,
.caratteristica-testo { font-family: 'Raleway', sans-serif; font-weight: 300; }
.stat-number, .slide_introtext h1,
#homeSlider .carousel-caption h1 { font-family: 'Raleway', sans-serif; font-weight: 900; }
footer, footer h3, footer p, footer a,
footer .mod-menu li a { font-family: 'Raleway', sans-serif; }

/* ============================================================
   LINKS
   ============================================================ */
a {
  color: #0068b3;
  transition: color 0.2s ease;
}

a:hover {
  color: #1a2c5b;
}

/* ============================================================
   HEADINGS – bold, uppercase-leaning like reference site
   ============================================================ */
h1, .h1, h2, .h2, h3, .h3,
h4, .h4, h5, .h5, h6, .h6 {
  font-family: 'Raleway', sans-serif;
}

h2, .h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.3;
  letter-spacing: -0.2px;
  color: #0068b3;
}

h3, .h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -0.2px;
  color: #1a2c5b;
}

/* ============================================================
   BUTTONS (global overrides — keep in sync with custom.css)
   ============================================================ */
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  color: #ffffff;
  background-color: #1a2c5b !important;
  border-color: #1a2c5b !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  color: #ffffff;
  background-color: #0068b3 !important;
  border-color: #0068b3 !important;
}

.btn-white {
  background: #fff;
  color: #1a2c5b;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 16px 28px;
  border: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-white:hover {
  background: #1a2c5b;
  color: #fff;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.mt-50 {
  margin-top: 50px;
}

.text-blue {
  color: #0068b3;
}

.text-green {
  color: #0068b3;
}

.bg-blue {
  background: #0068b3;
}

.bg-green {
  background: #0056a0;
}

/* ============================================================
   HEADER – single clean navbar, no top strip
   Reference: logo left, nav links uppercase right, LinkedIn icon
   ============================================================ */
/* header .top-header {
  display: none !important;
} */

header .navbar {
  background-color: #ffffff;
  padding: 0;
  min-height: 110px;
}

.navbar-brand img,
header .navbar-brand img {
  max-height: 90px;
  width: auto;
}

/* Nav links — uppercase, bold, tracked */
header .navbar .mod-menu > ul > li > a,
header .navbar .mod-menu__heading {
  font-family: 'Raleway', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #1a1a2e;
  padding: 10px 16px;
  transition: color 0.2s ease;
}

header .navbar .mod-menu > ul > li > a:hover,
header .navbar .mod-menu__heading:hover {
  color: #0068b3;
  text-decoration: none;
}

/* Active item underline */
header .navbar .mod-menu > ul > li.active > a,
header .navbar .mod-menu > ul > li.current > a {
  color: #0068b3;
  position: relative;
}

header .navbar .mod-menu > ul > li.active > a::after,
header .navbar .mod-menu > ul > li.current > a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 16px;
  right: 16px;
  height: 3px;
  background: #0068b3;
  border-radius: 2px 2px 0 0;
}

/* Language switcher in header */
.container-topbar-b .btn {
  background-color: transparent;
  border-color: transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #333;
  padding: 4px 10px;
}

/* Mobile toggler */
header .navbar-toggler {
  border: 2px solid #0068b3;
  border-radius: 4px;
}

header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230068b3' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Sticky header */
header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: #fff;
  box-shadow: 0 2px 12px rgba(26, 44, 91, 0.07);
}

/* ============================================================
   BANNER / HTML BANNERS
   ============================================================ */
.html_banners_content {
  padding-bottom: 80px;
}
main {
  padding-bottom: 50px;
}
/* ============================================================
   MOD LIST / SIDEBAR MENU
   ============================================================ */
.mod-list li.active > a {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  color: #0068b3;
}

header .mod-menu__heading,
header .mod-menu a,
header ul.mod-menu li a,
header ul.mod-menu li span {
  font-family: "Lato", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #1a1a2e;
  text-decoration: none;
  padding: 10px 13px;
  display: block;
  transition: color 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}
header .mod-list li.active > a:before {
  content: "";
  border-bottom: 3px solid #0068b3;
  left: 15px;
  right: 15px;
  bottom: -3px;
  position: absolute;
}

/* ============================================================
   TABS / FORM SECTION
   ============================================================ */
#tabs {
  padding-top: 80px;
  padding-bottom: 40px;
}

#tabs .convertforms .cf-input {
  border-color: #c3c3c3;
  border-radius: 5px;
}

.convertforms .cf-control-group[data-type="submit"] {
  text-align: center;
}

ul.nav.nav-tabs {
  background: transparent;
  box-shadow: none;
  border: 0;
}

.nav.nav-tabs .nav-item:first-of-type .nav-link.active {
  border-radius: 5px 5px 0 0;
}

.nav-tabs + .tab-content {
  background: #f5f8fc;
  border: 1px solid #e8eef5;
  box-shadow: none;
  border-radius: 0;
}

.nav-tabs + .tab-content .convertforms {
  width: 100%;
  background: transparent;
  max-width: 100%;
}

.nav.nav-tabs .nav-item {
  margin-right: 2px;
  margin-bottom: 2px;
}

.nav.nav-tabs .nav-item .nav-link {
  background: #f0f4fa;
  border-radius: 5px 5px 0 0;
  text-align: left;
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #545454;
  padding: 16px 22px;
}

.nav.nav-tabs .nav-link.active {
  background: #0068b3;
  color: #fff;
}

.nav.nav-tabs .nav-item:nth-child(2) .nav-link.active {
  background: #0056a0;
}

.tab-content .tab-pane:nth-child(2) .convertforms .cf-btn {
  background: #0056a0 !important;
}

.nav.nav-tabs .nav-link.active:after {
  display: none;
}

.cf-btn {
  background-color: #0068b3 !important;
  border-color: #0068b3 !important;
  letter-spacing: 0.5px !important;
  color: #ffffff !important;
  text-transform: uppercase;
  font-weight: 700 !important;
}

/* ============================================================
   TOP-B SECTION
   ============================================================ */
#top-b {
  padding-top: 60px;
  padding-bottom: 60px;
}

#top-b .top-b.no-card + .moduletable {
  padding-top: 50px;
}

#top-b .moduletable h3,
.container-bottom-a .moduletable h3,
#bottom-c .moduletable h3 {
  text-align: center;
  margin-bottom: 16px;
  font-weight: 900;
  color: #1a2c5b;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  margin-top: 0;
  background: #0068b3;
  color: #ffffff;
  padding-top: 50px;
  padding-bottom: 30px;
}

footer h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 10px;
}

footer p,
footer address {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.7;
}

footer a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: rgba(255, 255, 255, 0.75);
}

footer .mod-menu li a {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.6;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  display: block;
}

footer .mod-menu li a:hover {
  color: rgba(255,255,255,0.75);
}

footer .mod-menu li {
  margin-bottom: 0;
  padding: 0;
}

/* Remove active/current highlight from footer menu */
footer .mod-menu li.active > a,
footer .mod-menu li.current > a {
  color: #ffffff !important;
  font-weight: normal !important;
}

footer .mod-menu li.active > a::after,
footer .mod-menu li.current > a::after {
  display: none !important;
}

/* Row spacing between footer columns */
footer .row > [class*="footer-"] {
  padding-top: 10px;
  padding-bottom: 30px;
}

/* Cookie notice row (bottom-b) inside footer */
footer > .container > .row:first-child {
  border-bottom: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 20px;
  padding-bottom: 10px;
}

footer > .container > .row:first-child p,
footer > .container > .row:first-child a {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}

footer > .container > .row:first-child a {
  text-decoration: underline;
}

/* ============================================================
   FOOTER-E — rendered outside <footer> via footer-e-wrap
   ============================================================ */
.footer-e-wrap {
  background: #1a2c5b;
  padding: 20px 0;
  text-align: center;
}

.footer-e-wrap .footer-e,
.footer-e-wrap .moduletable {
  margin: 0;
  padding: 0;
  border-top: none;
  background: transparent;
  width: auto;
  text-align: center;
}

.footer-e-wrap p,
.footer-e-wrap .footer-e p,
.footer-e-wrap .moduletable p {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}

.footer-e-wrap a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.footer-e-wrap a:hover {
  color: #ffffff;
}

/* ============================================================
   BOUTIQUE DELLA CONSULENZA SECTION
   ============================================================ */
.boutique-section {
  background: #0068b3;
  padding: 60px 0 70px;
}

.boutique-section .boutique-inner {
  text-align: center;
}

/* Eyebrow row: number + short line */
.boutique-section .section-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.boutique-section .eyebrow-number {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
}

.boutique-section .eyebrow-line {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

/* Main heading */
.boutique-section .section-title {
  font-family: 'Raleway', sans-serif;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 52px;
}

/* Stats grid */
.boutique-section .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

/* Each stat — centered */
.boutique-section .stat-item {
  text-align: center;
  padding: 0 20px;
}

/* Number */
.boutique-section .stat-number {
  font-family: 'Raleway', sans-serif;
  font-size: 72px;
  font-weight: 300;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 20px;
}

/* Label */
.boutique-section .stat-title {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  max-width: 200px;
  margin: 0 auto;
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.mod-languages__select.btn-group button.btn.dropdown-toggle {
  border: none;
  background-color: #0068b3;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
}

div.mod-languages ul li.lang-active {
  background-color: transparent;
}

div.mod-languages .mod-languages__select.btn-group ul li {
  margin: 0;
  padding: .5rem .5rem;
}

div.mod-languages ul li:not(:last-child) {
  margin-right: 8px;
}

div.mod-languages ul li.lang-active a {
  color: #0068b3;
  display: block;
  padding: 0;
  font-weight: 700;
}

div.mod-languages ul li a {
  color: #333333;
  display: block;
  padding: 0;
}

.container-topbar-b .mod-languages ul {
  width: 75px;
  text-align: center;
  min-width: max-content;
}

.container-topbar-b .mod-languages ul li a {
  text-align: center;
}

/* ============================================================
   INNER PAGES
   ============================================================ */
.solovideo {
  padding-top: 40px;
  padding-bottom: 40px;
}

.soloimmagine,
.solotesto,
.immaginesin_testo,
.immaginedex_testo,
.videodex_testo,
.videosin_testo {
  padding-bottom: 40px;
  padding-top: 40px;
}

.immaginesin_testo + .immaginedex_testo {
  padding-top: 40px;
  padding-bottom: 40px;
}

.immaginesin_testo + .videodex_testo {
  padding-top: 120px;
  padding-bottom: 120px;
}

.immaginedex_testo + .immaginesin_testo {
  padding-top: 40px;
  padding-bottom: 40px;
}

.videosin_testo + .videodex_testo {
  padding-top: 120px;
  padding-bottom: 120px;
}

.immaginesin_testo img,
.immaginedex_testo img {
  border: 1px solid #dde5ef;
}

/* List items inside content sections */
.immaginesin_testo ul li,
.immaginedex_testo ul li,
.solotesto ul li,
.videodex_testo ul li,
.videosin_testo ul li {
  text-align: left;
  font-family: 'Raleway', sans-serif;
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0;
  color: #333333;
  list-style: none;
  position: relative;
}

.videodex_testo video,
.videosin_testo video,
.videodex_testo iframe,
.videosin_testo iframe {
  width: 100%;
  height: 270px;
}

/* Check icon bullets */
.solotesto ul li:before,
.immaginedex_testo ul li:before,
.immaginesin_testo ul li:before,
.videodex_testo ul li:before,
.videosin_testo ul li:before {
  position: absolute;
  left: -30px;
  background: url(/templates/cassiopeia_itmsuite_new/images/Icon-Check.svg);
  width: 18px;
  height: 18px;
  content: "";
  top: 10px;
  background-repeat: no-repeat;
}

.solotesto ul li li:before,
.immaginedex_testo ul li li:before,
.immaginesin_testo ul li li:before,
.videodex_testo ul li li:before,
.videosin_testo ul li li:before {
  background: url(/images/caratteristiche/Icon-Check-grey.svg);
}

.sottotitolo.solotesto {
  padding-top: 0;
}

/* ============================================================
   TESTO CON SFONDO / TITOLO TESTO
   ============================================================ */
.background-light,
.titolo_testo {
  padding-top: 55px;
  padding-bottom: 55px;
  position: relative;
  text-align: left;
  font-family: 'Raleway', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #333333;
}

.titolo_testo:before {
  content: "";
  position: absolute;
  width: 150vw;
  height: 100%;
  z-index: 0;
  left: -50vw;
  margin-top: 0;
  top: 0;
  background-color: #f5f8fc;
  border-bottom: none;
}

.titolo_testo > * {
  z-index: 1;
  position: relative;
}

.background-light h3,
.titolo_testo h3 {
  text-align: center;
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.titolo_testo h3 {
  color: #1a2c5b;
}

.background-light h3 {
  color: #1a2c5b;
}

/* ============================================================
   LOGO TEXT BLOCK
   ============================================================ */
.testologo {
  background: #0068b3;
  padding-top: 110px;
  padding-bottom: 55px;
  text-align: center;
  font-family: 'Raleway', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.3px;
  color: #ffffff;
  position: relative;
}

.testologo:after {
  position: absolute;
  content: "";
  background: url('/plugins/system/contentblocks/img/Logo-PrivacyNow-White.svg');
  top: 50px;
  height: 60px;
  width: 177px;
  left: 0;
  right: 0;
  margin: auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 150px;
}

.testologo > * {
  margin-top: 35px;
}

.solovideo iframe,
.solovideo video {
  width: 100%;
  min-height: 554px;
}

.immaginesin_testo ul li > ul,
.immaginedex_testo ul li > ul,
.videosin_testo ul li > ul,
.videodex_testo ul li > ul {
  padding-left: 30px;
  margin-top: 12px;
}

.iwt_prestep {
  margin-top: 50px;
  margin-bottom: 80px;
}

/* ============================================================
   PRICE PAGE HEADINGS
   ============================================================ */
.itemid-447 h1,
.itemid-448 h1,
.itemid-187 h1,
.itemid-197 h1 {
  text-align: center;
  margin-bottom: 28px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.3px;
  color: #1a2c5b;
}

/* ============================================================
   DARK BLUE SECTION
   ============================================================ */
.background-blue {
  color: #fff;
  background: #1a2c5b;
}

.background-blue h3 {
  color: #fff;
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team_testo {
  margin-bottom: 73px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.il_nostro_team {
  padding-bottom: 100px;
}

.il_nostro_team h4 {
  text-align: center;
  font-family: 'Raleway', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #1a2c5b;
  margin-top: 20px;
  text-transform: uppercase;
}

.il_nostro_team .gallery span {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  color: #555555;
}

.il_nostro_team .gallery img {
  background: #d0d8e8;
  border-radius: 6px;
  border: 1px solid transparent;
}

/* ============================================================
   CONTACT / FORM PAGES
   ============================================================ */
.com-content-article.item-page .convertforms {
  margin-top: 30px;
  background: #f5f8fc;
  border-radius: 6px;
  text-align: left;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
}

.com-content-article.item-page .contact-wrapper h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #1a2c5b;
  text-transform: uppercase;
}

.com-content-article.item-page .convertforms .cf-input {
  border-color: #fff;
}

.contact-wrapper {
  margin-top: 25px;
  margin-bottom: 105px;
}

/* ============================================================
   LOGIN / REGISTRATION FORMS
   ============================================================ */
.login-banner,
.com_users form#com-users-login__form,
.com_users form#user-registration {
  background: #f5f8fc;
  border: 1px solid #e0eaf5;
  box-shadow: none;
  border-radius: 6px;
  padding: 50px;
  text-align: left;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
}

.rsmembership_form,
.com-users-registration.registration,
.login-banner,
.com_users form#com-users-login__form,
.com_users form#user-registration {
  background: #f5f8fc;
  border: 1px solid #e0eaf5;
  box-shadow: none;
  border-radius: 6px;
  padding: 50px;
  text-align: left;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 50px;
}

/* ============================================================
   RSM MEMBERSHIP
   ============================================================ */
h2.trialId,
#rsm_subscribe .control-group .controls span,
#rsm_user .control-group .controls span {
  background: #0068b3;
  border-radius: 4px;
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
  padding-left: 20px;
  padding-top: 12px;
  padding-bottom: 11px;
}

#rsm_subscribe #rsm_subscribe_payment .control-group .controls span {
  width: auto !important;
  padding: 8px 15px !important;
  word-break: break-word;
}

h2.trialId,
#rsm_mymembership_renew .control-group .controls span,
#rsm_user .control-group .controls span {
  background: #0068b3;
  border-radius: 4px;
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  padding-left: 20px;
  padding-top: 12px;
  padding-bottom: 11px;
}

#rsm_mymembership_renew .control-group .controls span {
  width: auto !important;
  padding: 8px 15px !important;
  word-break: break-word;
}

.control-group .controls .input-group button span {
  font-family: "Font Awesome 6 Free" !important;
  background-color: #0056a0 !important;
  color: #fff !important;
  padding: 0 !important;
}

.control-group .controls .input-group button.btn:hover,
.control-group .controls .input-group button.btn:focus,
.control-group .controls .input-group button.btn:focus-visible {
  background-color: #0056a0;
  border-color: #0056a0;
  color: #fff;
  box-shadow: none;
}

.rsmembership_form .form-control:focus {
  border-color: #fff;
  box-shadow: none;
}

#rsm_subscribe .rsmembership_form .control-group .input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
  margin-left: 0;
}

#rsm_subscribe #rsm_subscribe_payment .item-page .control-group .controls .radio label {
  display: flex;
  flex-wrap: wrap;
  row-gap: 5px;
}

#rsm_subscribe h3.page-header {
  text-align: left;
  font-family: 'Raleway', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #0068b3;
}

#rsm_subscribe .item-page:nth-child(6) h3.page-header,
#rsm_subscribe .item-page:nth-child(3) h3.page-header {
  text-align: left;
  font-family: 'Raleway', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 11px;
}

div#rsm_subscribe_payment h3.page-header {
  text-align: left;
  font-family: 'Raleway', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #333333;
}

/* ============================================================
   RESERVED AREA MENU
   ============================================================ */
ul.area-riservata li a {
  background: #ffffff;
  border: 2px solid #918f90;
  border-radius: 5px;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #918f90;
  width: 152px;
  display: block;
  padding: 12px 17px 11px 50px;
  text-decoration: none;
}

ul.area-riservata li.active a {
  border: 2px solid #0056a0;
  color: #0056a0;
}

ul.area-riservata li {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  margin-right: 35px;
  float: left;
  width: fit-content;
}

ul.area-riservata {
  padding: 0;
}

ul.area-riservata li a {
  background-size: 24px;
  background-repeat: no-repeat;
  background-position: 12px 9px;
}

ul.area-riservata li.nav-item.item-391 a {
  background-image: url(/templates/cassiopeia_privacy_now/html/mod_menu/img/Abbonamenti.svg);
}

ul.area-riservata li.nav-item.item-391.active a {
  background-image: url(/templates/cassiopeia_privacy_now/html/mod_menu/img/Abbonamenti-Attivo.svg);
}

ul.area-riservata li.nav-item.item-404 a {
  background-image: url(/templates/cassiopeia_privacy_now/html/mod_menu/img/Profilo.svg);
}

ul.area-riservata li.nav-item.item-404.active a {
  background-image: url(/templates/cassiopeia_privacy_now/html/mod_menu/img/Profilo-Attivo.svg);
}

ul.area-riservata li.nav-item.item-379 a {
  background-image: url(/templates/cassiopeia_privacy_now/html/mod_menu/img/Esci.svg);
}

ul.area-riservata li.nav-item.item-379.active a {
  background-image: url(/templates/cassiopeia_privacy_now/html/mod_menu/img/Esci-Attivo.svg);
}

/* ============================================================
   MEMBERSHIP TABLE
   ============================================================ */
#rsm_mymemberships .table-responsive {
  background: #f5f8fc;
  padding: 50px;
}

#rsm_mymemberships .table-responsive th.sectiontableheader {
  background: #1a2c5b;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
}

#rsm_mymemberships .table-responsive {
  --table-border-color: transparent;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  color: #333333;
}

#rsm_mymemberships .table-responsive a {
  font-weight: 700;
  text-decoration: none;
  color: #333;
}

#rsm_mymemberships .table-responsive tr {
  border-bottom: 1px solid #dde5ef;
  height: 41px;
}

#rsm_mymemberships .table-responsive .table-danger {
  background: transparent !important;
  --table-bg: transparent;
  --table-border-color: transparent;
}

#rsm_mymemberships .table-responsive tr td:last-child span {
  border-radius: 4px;
  width: fit-content;
  padding: 2px 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

#rsm_mymemberships .table-responsive .table-danger td:last-child span {
  background: #ed4d38;
}

#rsm_mymemberships .table-responsive .table-completed td:last-child span {
  background: #0056a0;
}

#rsm_mymemberships .table-responsive .table-pending td:last-child span {
  background: #f59e0b;
  color: #1a1a2e;
}

/* ============================================================
   MEMBERSHIP DETAIL / FORMS
   ============================================================ */
div#rsm_membership_detail {
  margin-bottom: 50px;
}

.rsmembership_form {
  overflow: hidden;
  margin-bottom: 40px;
}

.com-users-login__submit.control-group {
  margin-top: 10px;
}

.rsmembership_form label#rsm_admin_intro-lbl {
  display: none;
}

.rsmembership_form input[type="text"],
.rsmembership_form input[type="password"],
.com-users-registration.registration input[type="text"],
.com-users-registration.registration input[type="password"],
.com_users form#user-registration input[type="text"],
.com_users form#user-registration input[type="password"],
.com_users form#com-users-login__form input[type="text"],
.com_users form#com-users-login__form input[type="password"] {
  background: #ffffff;
  border-radius: 5px;
  border-color: #fff;
}

.com-users-login h4,
.login-banner h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #1a2c5b;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.rsmembership_form .btn-success,
.com-users-registration.registration .btn-primary,
.login-banner .btn-primary,
.com_users form#user-registration .btn-primary,
.com_users form#com-users-login__form .btn-primary {
  width: 100%;
  margin-top: 85px;
}

.login-banner p {
  padding-bottom: 0;
  margin-bottom: 0;
}

.com_users form#user-registration fieldset,
.com_users form#com-users-login__form fieldset {
  margin: 0;
}

.com_users form#com-users-login__form .form-check a.com-users-login__register.list-group-item {
  float: right;
  margin-top: 3px;
}

.com_users form#user-registration .control-label a,
.com_users form#com-users-login__form .control-label a {
  float: right;
}

.list-group-item {
  background: transparent;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #545454;
}

.com-users-login {
  padding-bottom: 80px;
}

/* ============================================================
   MEGABANNER
   ============================================================ */
.megabanner.immaginedex_testo img {
  border: 0;
}

.com-content-article .icons .float-end {
  display: none;
}
/* Fix blog listing images */
.com-content-category-blog .blog-items .blog-item .item-image img,
.com-content-category-blog .blog-items .blog-item img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  display: block !important;
  border: none !important;
  border-radius: 0 !important;
}

/* Hide full article body — show only intro */
.com-content-category-blog .blog-items .blog-item .com-content-article__body {
  display: none !important;
}

/* Show only intro text */
.com-content-category-blog .blog-items .blog-item .com-content-article__intro {
  display: block !important;
  padding: 0 20px !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: #555 !important;
}
.news_events .background-light:before {
    border-bottom: none;
}

/* ============================================================
   FLEX ROW / QX ELEMENTS
   ============================================================ */
.flex_row {
  justify-items: center;
  width: 100%;
  align-content: center;
  align-items: stretch;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  min-height: 300px;
}

.qx-column .qx-element {
  padding: 20px;
  min-height: 250px;
}

/* ============================================================
   BLOG
   ============================================================ */
.com-content-category-blog.blog .blog-items .blog-item .page-header h2 a {
    font-size: 24px;
    font-weight: 700;
    transition: color 0.2s;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: calc(1.4em * 2);
    color: #0068b3;
}

.com-content-category-blog.blog .blog-items .blog-item .page-header h2 a:hover {
  color: #0068b3;
}
.com-content-category-blog.blog .blog-items .blog-item .page-header h2 a:hover {
  color: #484f56;
}


/* ============================================================
   CARATTERISTICA_2 (feature cards v2)
   ============================================================ */
div#caratteristiche_338 .row {
  row-gap: 20px;
}

.caratteristiche_2,
.html_contatti {
  margin: auto;
}

.caratteristica_2 {
  margin-bottom: 60px;
  position: relative;
}

.caratteristica_2-icona img {
  width: auto;
}

.caratteristica_2-icona {
  min-height: 60px;
  margin-bottom: 30px;
}

.caratteristica_2-testo {
  display: inline-block;
  width: 100%;
  margin-bottom: 30px;
}

.caratteristica_2-titolo {
  text-align: left;
  font-family: 'Raleway', sans-serif;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.3px;
  color: #0068b3;
  text-transform: uppercase;
  margin-bottom: 15px;
}

a.caratteristica_2-bottone {
  margin: 0 auto;
  position: absolute;
  bottom: 0;
  display: block;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.container-bottom-a {
  padding-top: 80px;
  padding-bottom: 80px;
}

.html_contatti h4 {
  text-align: left;
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.3px;
  color: #0068b3;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.html_contatti ul {
  list-style: none;
  padding: 0;
  line-height: 32px;
}

/* ============================================================
   BANNERS
   ============================================================ */
.html_banners {
  margin: auto;
  position: relative;
}

.html_banners_content h3 {
  padding-top: 80px;
  padding-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 900;
  color: #1a2c5b;
}

.html_banners_content div {
  padding-bottom: 50px;
}

/* ============================================================
   BOTTOM-B (split background section)
   ============================================================ */
#bottom-b,
#bottom-b h3 {
  color: #fff;
}

/* ============================================================
   PARTNER CTA
   ============================================================ */
.diventa_partner {
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: #333333;
}

.chi-siamo-section {
    font-family: 'Raleway', sans-serif !important;
}

/* ============================================================
   SERVIZI — #bottom-a  (mod_news_pro_gk5 / NSP carousel)
   Real class map confirmed from rendered HTML
   ============================================================ */

/* 1. Section wrapper */
#bottom-a {
  background: #f5f8fc;
  padding-top: 70px;
  padding-bottom: 70px;
}

/* 2. Inner module — constrain width */
#bottom-a .bottom-a {
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* 3. Section heading */
#bottom-a h2.headingTitle {
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
  color: #1a2c5b;
  letter-spacing: 0.5px;
  margin-bottom: 40px;
  text-align: center;
}

/* 4. NSP outer containers — remove default padding/width quirks */
#bottom-a .nspMain,
#bottom-a .nspArts,
#bottom-a .nspArtScroll1 {
  width: 100% !important;
  overflow: visible !important;
}

/* 5. The scroll container — use CSS grid instead of NSP's JS widths */
/* Change this in critical.css */
#bottom-a .nspArtScroll2 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;  /* was repeat(5, 1fr) */
  gap: 20px !important;
  width: 100% !important;
  overflow: visible !important;
  transform: none !important;
}

/* 6. Each "page" — make it a flat grid participant, not a separate page */
#bottom-a .nspArtPage {
  display: contents !important; /* children go directly into the grid */
}

/* 7. Each card item */
#bottom-a .nspArt {
  background: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 16px rgba(26, 44, 91, 0.08) !important;
  overflow: hidden !important;
  transition: box-shadow 0.25s ease, transform 0.25s ease !important;
  padding: 0 0 16px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  width: auto !important;       /* override NSP inline width */
  float: none !important;       /* override NSP float */
  clear: none !important;
}

#bottom-a .nspArt:hover {
  box-shadow: 0 6px 28px rgba(26, 44, 91, 0.16) !important;
  transform: translateY(-3px) !important;
}

/* 8. Image wrapper — full width, fixed height */
#bottom-a .nspArt .center,
#bottom-a .nspArt .nspImageWrapper {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
}

#bottom-a .nspArt .nspImage {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 0 !important;
  border: none !important;
  margin: 0 !important;
}

/* 9. Hide the date */
#bottom-a .nspInfo {
  display: none !important;
}
.mod-list li.active>a {
  text-decoration: none !important;
}
/* 10. Title */
#bottom-a .nspHeader {
  font-family: 'Raleway', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  padding: 14px 14px 6px !important;
  float: none !important;
}

#bottom-a .nspHeader a {
  color: #0068b3 !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
  display: block !important;
}

#bottom-a .nspHeader a:hover {
  color: #1a2c5b !important;
}

/* 11. Description text */
#bottom-a .nspText {
  font-family: 'Raleway', sans-serif !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #555555 !important;
  padding: 0 14px 10px !important;
  margin: 0 !important;
  float: none !important;
  flex-grow: 1 !important;
}

/* 12. Read More link */
#bottom-a a.readon {
  font-family: 'Raleway', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: #0068b3 !important;
  text-decoration: none !important;
  display: inline-block !important;
  padding: 0 14px 0 !important;
  float: none !important;
  clear: both !important;
  border-bottom: 2px solid transparent !important;
  transition: color 0.2s, border-color 0.2s !important;
  margin-top: auto !important;
}

#bottom-a a.readon:hover {
  color: #1a2c5b !important;
  border-color: #1a2c5b !important;
}

/* 13. Hide NSP pagination arrows and page buttons (carousel UI) */
#bottom-a .nspTopInterface,
#bottom-a .nspPrev,
#bottom-a .nspNext,
#bottom-a .nspPagination {
  display: none !important;
}

/* ============================================================
   RESPONSIVE — SERVIZI grid
   ============================================================ */
@media (max-width: 1199px) {
#bottom-a .nspArtScroll2 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 767px) {
  #bottom-a .nspArtScroll2 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  #bottom-a .bottom-a {
    padding-left: 15px;
    padding-right: 15px;
  }
 
}

@media (max-width: 480px) {
  #bottom-a .nspArtScroll2 {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}


/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
#top-b .container,
#tm-top-b .container {
  padding-left: 24px;
  padding-right: 24px;
}

/* Force full-width wrapper */
#tm-top-f {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Section itself stretches full width */
.boutique-section {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.boutique-section > .container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   RESPONSIVE — BOUTIQUE
   ============================================================ */
@media (max-width: 991px) {
  .boutique-section .section-title {
    font-size: 28px;
  }
  .boutique-section .stat-number {
    font-size: 56px;
  }
  .chi-siamo-section p{
        font-size: 16px !important;
        line-height: 1.5;
    }
    .chi-siamo-section .chi-siamo-fs strong{
        font-size: 26px !important;
        line-height: 1.5!important; 
  }
}

@media (max-width: 767px) {
  .boutique-section .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 0;
  }
  .boutique-section .stat-number {
    font-size: 48px;
  }
  .boutique-section .section-title {
    font-size: 22px;
  }
}


/* ============================================================
   NEWS ED EVENTI — #tm-top-f .bottom-c  (mod_news_pro_gk5)
   Same NSP structure as SERVIZI but nspCol3
   ============================================================ */

/* 1. Remove excess padding from the nspMain that has py-5 class */
#tm-top-f .bottom-c,
#tm-top-f .nspMain.carosello_home {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* 2. Wrapper — constrain width, add bg + padding */
#tm-top-f .bottom-c {
  background: #ffffff;
  padding-top: 60px !important;
  padding-bottom: 70px !important;
  max-width: 100%;
}

/* 3. Inner content max-width */
#tm-top-f .bottom-c > .nspMain,
#tm-top-f .bottom-c > h2 {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* 4. Section heading */
#tm-top-f .bottom-c h2.headingTitle {
  font-family: 'Raleway', sans-serif;
  text-transform: uppercase;
  color: #1a2c5b;
  letter-spacing: 0.5px;
  margin-bottom: 40px;
  text-align: center;
  display: block;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* 5. NSP containers */
#tm-top-f .nspMain,
#tm-top-f .nspArts,
#tm-top-f .nspArtScroll1 {
  width: 100% !important;
  overflow: visible !important;
}

/* 6. Grid — 3 columns for news */
#tm-top-f .nspArtScroll2 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  width: 100% !important;
  overflow: visible !important;
  transform: none !important;
}

/* 7. Flatten pages into grid */
#tm-top-f .nspArtPage {
  display: contents !important;
}

/* 8. Each card */
#tm-top-f .nspArt {
  background: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 16px rgba(26, 44, 91, 0.08) !important;
  overflow: hidden !important;
  transition: box-shadow 0.25s ease, transform 0.25s ease !important;
  padding: 0 0 16px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  width: auto !important;
  float: none !important;
  clear: none !important;
  border: 1px solid #e8eef5 !important;
}

#tm-top-f .nspArt:hover {
  box-shadow: 0 6px 28px rgba(26, 44, 91, 0.14) !important;
  transform: translateY(-3px) !important;
}

/* 9. Image */
#tm-top-f .nspArt .center,
#tm-top-f .nspArt .nspImageWrapper {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
}

#tm-top-f .nspArt .nspImage {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 0 !important;
  border: none !important;
  margin: 0 !important;
}

/* 10. Hide date */
#tm-top-f .nspInfo {
  display: none !important;
}

/* 11. Title */
#tm-top-f .nspHeader {
  font-family: 'Raleway', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  padding: 16px 16px 6px !important;
  float: none !important;
}

#tm-top-f .nspHeader a {
  color: #0068b3 !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
  display: block !important;
}

#tm-top-f .nspHeader a:hover {
  color: #1a2c5b !important;
}

/* 12. Body text */
#tm-top-f .nspText {
  font-family: 'Raleway', sans-serif !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #555555 !important;
  padding: 0 16px 12px !important;
  margin: 0 !important;
  float: none !important;
  flex-grow: 1 !important;
}

/* 13. Read More */
#tm-top-f a.readon {
  font-family: 'Raleway', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: #0068b3 !important;
  text-decoration: none !important;
  display: inline-block !important;
  padding: 0 16px !important;
  float: none !important;
  clear: both !important;
  border-bottom: 2px solid transparent !important;
  transition: color 0.2s, border-color 0.2s !important;
}

#tm-top-f a.readon:hover {
  color: #1a2c5b !important;
  border-color: #1a2c5b !important;
}

/* 14. Hide carousel UI */
#tm-top-f .nspTopInterface,
#tm-top-f .nspPrev,
#tm-top-f .nspNext,
#tm-top-f .nspPagination {
  display: none !important;
}

/* ============================================================
   SPACING FIX — gap between SERVIZI and boutique/news
   The .nspMain inside #bottom-a has py-5 class adding 3rem top/bottom
   ============================================================ */
/* #bottom-a .nspMain {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
} */

/* Also kill the duplicate py-5 on the module wrapper itself */
/* #bottom-a .bottom-a.py-5 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
} */

/* Boutique section sits between the two carousels — ensure clean spacing */
#tm-top-f .boutique-section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ============================================================
   NEWS RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  #tm-top-f .nspArtScroll2 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  #tm-top-f .bottom-c > .nspMain,
  #tm-top-f .bottom-c > h2 {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 575px) {
  #tm-top-f .nspArtScroll2 {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE max-width: 992px
   ============================================================ */
@media (max-width: 991px) {
  /* SERVIZI grid: 2 columns on tablet */
  #bottom-a .items-row,
  #bottom-a .blog-items,
  #bottom-a .carosello_home .row,
  #bottom-a .row {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  #tabs {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    padding: 60px 0 30px;
  }

  .convertforms .cf-content-wrap,
  .convertforms .cf-form-wrap {
    padding: 48px 0;
  }

  #top-b {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  #bottom-b {
    overflow: hidden;
  }

  .container-bottom-a {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .html_banners_content {
    margin: -15px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 60px;
  }

  .html_banners_content h3 {
    padding-top: 60px;
  }

  .html_contatti .btn,
  .html_banners a.btn.btn-white,
  .diventa_partner .btn {
    width: 100%;
  }

  .diventa_partner {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .background-light,
  .testologo {
    margin-left: -30px;
    margin-right: -30px;
    padding-left: 30px;
    padding-right: 30px;
    font-size: 17px;
    line-height: 1.6;
  }

  ul.nav.nav-tabs {
    background: #f5f8fc;
  }

  .solotesto,
  .immaginesin_testo,
  .immaginedex_testo,
  .videodex_testo,
  .videosin_testo,
  .immaginesin_testo + .videodex_testo,
  .immaginedex_testo + .videosin_testo,
  .immaginesin_testo + .videosin_testo {
    padding-bottom: 0;
    padding-top: 20px;
  }

  .soloimmagine,
  .solotesto .col-md-6,
  .immaginesin_testo .col-md-6,
  .immaginedex_testo .col-md-6,
  .videodex_testo .col-md-6,
  .videosin_testo .col-md-6 {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .com-users-login {
    padding-bottom: 40px;
  }

  .com-content-article .convertforms {
    margin-left: -30px;
    margin-right: -30px;
    padding-left: 25px;
    padding-right: 25px;
  }

  .immaginesin_testo + .immaginedex_testo {
    margin-top: -55px;
    padding: 0;
  }

  div#tabs {
    margin: auto;
  }

  /*.com-content-article.item-page .convertforms {
    margin-top: -50px;
  }*/

  ul.area-riservata li,
  ul.area-riservata li a {
    margin: 0;
    width: 100%;
    margin-bottom: 7px;
  }

  #rsm_mymemberships .table-responsive,
  .rsmembership_form,
  .com-users-registration.registration,
  .login-banner,
  .com_users form#com-users-login__form,
  .com_users form#user-registration {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE max-width: 575px
   ============================================================ */
@media (max-width: 575px) {
  /* SERVIZI grid: 1 column on phone */
  #bottom-a .items-row,
  #bottom-a .blog-items,
  #bottom-a .carosello_home .row,
  #bottom-a .row {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  #bottom-a > .moduletable {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* ============================================================
   RESPONSIVE — TABLET min-width: 768px
   ============================================================ */
@media (min-width: 768px) {
  div#bottom-b {
    position: relative;
  }

  div#bottom-b:before {
    content: "";
    background: #0068b3;
    height: 100%;
    position: absolute;
    left: -50%;
    width: 100%;
    right: 0;
    z-index: 0;
  }

  div#bottom-b:after {
    background: #0056a0;
    content: "";
    height: 100%;
    position: absolute;
    right: 0;
    width: 50%;
    z-index: 0;
    top: 0;
  }

  .html_banners {
    z-index: 1;
  }
}

/* ============================================================
   RESPONSIVE — WIDE min-width: 1400px
   ============================================================ */
@media (min-width: 1400px) {
  .caratteristica_2,
  .html_contatti_content,
  .html_banners_content {
    padding-left: 50px;
    padding-right: 50px;
    max-width: 100%;
  }

  body.site {
    overflow-x: hidden;
  }

  .background-light:before,
  .testologo:before {
    content: "";
    position: absolute;
    width: 150vw;
    height: 100%;
    z-index: 0;
    left: -50vw;
    margin-top: -110px;
  }

  .background-light:before {
    background-color: #f5f8fc;
  }

  .news_events .background-light:before {
    border-bottom: none;
  }

  .testologo:before {
    background-color: #0068b3;
  }

  .background-light > *,
  .testologo > * {
    z-index: 1;
    position: relative;
  }

  .videosin_testo ul,
  .immaginesin_testo ul {
    padding-left: 30px;
  }

  .nav.nav-tabs .nav-item:last-of-type .nav-link {
    box-shadow: none !important;
  }

  .megabanner.immaginedex_testo img {
    margin-top: -120px;
  }

  .background-blue::before {
    background-color: #1a2c5b;
  }
}


