:root {
  --bs-body-bg:#f0faff;
  --bs-primary-rgb: 15, 65, 105;
  --bs-light: #f8f9fa;
  --bs-dark: #090711;
  --bs-secondary-rgb: 85, 129, 163;
  --bs-link-color: rgb(55, 113, 150);
  --bs-link-color-rgb: 55, 113, 150;
  --bs-link-decoration: underline;
  --bs-link-hover-color: #79a2bd;
  --bs-link-hover-color-rgb: 85, 129, 163;
  --bs-border-radius: 1.375rem;
  --bs-border-radius-lg: 2.875rem;
  --bs-border-radius-lg: 16rem;
}
.container-fluid {
  --bs-gutter-x: 0rem;
}
/* @media (max-width: 576px) {
  .container-fluid .row {
  --bs-gutter-x: 0rem;
  }
} */
[data-bs-theme=dark] {
  --bs-body-bg: #071f2f;
  --bs-link-color-rgb: 121, 184, 234;
}
[data-bs-theme=dark]  a.footer-brand {    
  color: rgb(121 184 234);
}
body {
  font-family: "Poppins", sans-serif;
  font-optical-sizing: auto;
}
h1,h2,h3 {
  font-family: "Poppins", sans-serif;
  font-optical-sizing: auto;
}
/*HEADER & NAVBAR*/
header{
  position: sticky;
  top: 0;
  background-color: rgb(246, 248, 252);
  z-index: 3;
}
header .container-fluid{
  box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
  background: #fafaff;
  border-bottom: 2px solid #79a2bd;
}

@media (min-width: 768px) { 
  header .container-fluid{
      padding-left: 2rem;
      padding-right: 2rem;
      height: 80px;
      box-sizing: border-box;
  }
  .navbar-brand {
    padding-top: 0px;
    padding-bottom: 0px;
  }
}

.navbar-brand .graphic-logo-text{
    font-family: "Poppins", sans-serif;
    color: rgb(55, 113, 150);
    margin-left: 10px;
    font-weight: 500;
    font-size: 1.625rem;
    position: relative;
    top:10px;
    height: 80px;
}
.navbar-brand .graphic-logo-text small{
    font-family: "Poppins", sans-serif;
    font-optical-sizing: auto;
    color: #79a2bd;
    font-size:0.925rem;
    position: relative;
    top: -25px;
}
.social-icons-header {
/*  display: flex;
    justify-content: flex-end;*/
    position: relative;
    margin-left: 4rem;
}

/*main navbar*/
.navbar {
  --bs-navbar-brand-color: #377195;
  --bs-navbar-color: #344958;
  --bs-navbar-active-color:#377195;
  padding-top:0px;
  padding-bottom: 0px;
}
.navbar-nav {--bs-nav-link-font-weight:600;}
.nav-link {color: #344958;}
.navbar-nav .nav-link.active {
  --bs-navbar-color: #377195;
}
a.nav-link{
    background: linear-gradient(currentColor 0 0) 0 100% / var(--d, 0) 2px no-repeat;
  text-decoration: none;
    transition: ease 0.3s;
}
a.nav-link:hover, .nav-link:focus {
    color: #377195;
    --d: 100%;
}

/*Code to change color of active link*/
.navbar-nav > .active > a {
    color: #377195;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show{
    color: #377195;
}
.navbar-brand img.graphic-logo-element{      
    height: 100%;
    width: 60px;
    margin-top: 8px;
}
a.btn-link {
  background: linear-gradient(currentColor 0 0) 0 100% / var(--d, 0) 2px no-repeat;
  text-decoration: none;
    transition: ease-in 0.5s;
    line-height: 1;
}
a.btn-link:hover, a.btn-link:focus {
    color: #7196b0;
    --d: 100%;
}

@media (min-width: 768px) {
  .nav-item.dropdown ul.dropdown-menu{
    max-width: 300px;   
  }
  .nav-item.dropdown ul.dropdown-menu .dropdown-item{
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

/* BUTTONS */
.hero-section .btn-lg {    
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
.blog-banner .btn-lg, .blog-banner-innerpage .btn-lg {    
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
.psicoterapia-distanza-subsection .btn-lg {    
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
.hero-section .btn {    
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
.hero-section .info-ord-psic .btn{    
    padding-left: 0rem;
    padding-right: 0rem;
  }
.btn-link{
  --bs-btn-font-weight: 600;
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #144E73;
    --bs-btn-border-color: #144E73;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #17374d;
    --bs-btn-hover-border-color: #17374d;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #194467;
    --bs-btn-active-border-color: #194467;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(20, 78, 115, 0.33);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #435a6c;
    --bs-btn-disabled-border-color: #435a6c;
    width: auto;
    box-shadow: 0 0 1px #ccc;
    transition-duration: 0.5s;
    transition-timing-function: ease-out;
    transform-origin: 0 0;
    box-shadow: 0px 0px 0 100px rgb(25, 78, 121) inset;
    border-color: transparent;
}
.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #79a2bd;
    --bs-btn-border-color: #79a2bd;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #4d7593;
    --bs-btn-hover-border-color: #4d7593;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #68a5d4;
    --bs-btn-active-border-color: #68a5d4;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #67b1a1;
    --bs-btn-disabled-border-color: #67b1a1;
    width: auto;
    background: rgb(86, 133, 169);
    color: #fff;
    box-shadow: 0 0 1px #ccc;
    transition-duration: 0.5s;
    transition-timing-function: ease-out;
    transform-origin: 0 0;
    box-shadow: 0px 0px 0 100px rgb(86, 133, 169) inset;
    border-color: transparent; 
}
.btn-outlined {
      --bs-btn-color: #377195;
    --bs-btn-bg: rgb(233 245 252);
    --bs-btn-border-color: rgb(233 245 252);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #17374d;
    --bs-btn-hover-border-color: #17374d;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #183a51;
    --bs-btn-active-border-color: #183a51;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(20, 78, 115, 0.33);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #435a6c;
    --bs-btn-disabled-border-color: #435a6c;
    width: auto;
    background: rgb(233 245 252);
    color: #377195;
    box-shadow: 0 0 1px #ccc;
    transition-duration: 0.5s;
    transition-timing-function: ease-out;
    transform-origin: 0 0;
    box-shadow: 0px 0px 0 100px rgb(233 245 252) inset;
    border-color: transparent; 
}
.btn.btn-primary:hover{
    box-shadow:0px 0px 0 0px #5f8299 inset;
    transform: scale(1);
}
.btn.btn-outlined:hover{
    box-shadow:0px 0px 0 0px #17374d inset;
    transform: scale(1);
}
.btn.btn-secondary:hover{
    box-shadow:0px 0px 0 0px #68a5d4 inset;
    transform: scale(1);
}
.bi {
    vertical-align: -0.125em;
    fill: currentColor;
}     
.btn-bd-primary {
    --bd-violet-bg: #79a2bd;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #5a82a0;
    --bs-btn-hover-border-color: #5a82a0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #6594b7;
    --bs-btn-active-border-color: #6594b7;
}
.bd-mode-toggle {
  z-index: 2;
  margin-top: -1.5rem;
}
.bd-mode-toggle .bi {
  width: 1em;
  height: 1em;
  }
.bd-mode-toggle .dropdown-menu .active .bi {
  display: block !important;
}
.bd-mode-toggle .dropdown-item{margin-top: 10px;}
.dropdown-item.active, .dropdown-item:active{
  background-color: #6594b7;
}
.dropdown-menu.show {padding-top:1rem;}
.card {
  --bs-border-radius: 0.75rem;
  --bs-card-border-color: #79a2bd;
}
.hero-section p a {
  color: rgb(17 65 105);
  font-weight: 600;
}
section .list-unstyled li{
  margin-top:10px;
  margin-bottom:10px;
}

/* LIGHT/DARK MODE TOGGLE ONLY */
html .icon-bar {
  background-color: #231c45 !important;
}
html[data-bs-theme=dark] .icon-bar {
  background-color: #fff !important;
}
.nav-item .form-check.form-switch,
.nav-item .form-check.form-switch > * {
  cursor: pointer;
}
.navbar .form-check-input {
  margin-top: 0.75em;
  margin-left: -2.3em;
}

/*LAYOUT*/
section {
    min-height: calc(100vh - 80px);
    padding: 2rem 3rem;
/*     margin-left: -15px;
    margin-right: -15px;
    width: 99vw;  */
  }
section.innerpage {
    margin-bottom:  2rem;
    margin-top: 1rem;
  }
section.highlight-row-innerpage{
    min-height: 100%;
    padding: 0rem 3rem;
    background-color: #377196;
    padding-bottom: 1rem;
    margin-top: 1rem;
  }

section.innerpage .blockquote {
    margin-bottom: 1rem;
    font-size: 1.225rem;
    color: #79a2bd;
}
/*COLORI SEZIONI*/

/*HP*/
.hero-section {
 /* For text visibility on the background */
  /*  padding: 2rem 3rem;  Adjust padding as needed */
}
#home img.rounded-circle {
  border: 5px solid #79a2bd;
}
#home {
  padding-top: 6rem; 
  padding-bottom: 6rem;
  min-height:99.8vh;
}
.info-profile .btn-lg .bi{
    position: relative;
    top: -2px;
    font-size: 1.375rem;
}
p.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: #5f8299 !important;
}
.hero-section img.rounded-circle.profile-picture-section{max-width: 200px;}
#about-me h1.text-primary,
#aree-intervento h1.text-primary,
#last-posts h1.text-primary, 
#contatti h1.text-primary,
#servizi h1.text-primary{
    margin-bottom: 2rem;
    margin-top: 2rem;
}
#all-posts h1.text-primary{
    margin-bottom: 2rem;
    margin-top: 0rem;
}
#psicoterapia-distanza h1.text-primary{
    margin-bottom: 2rem;
    margin-top: 0rem;
}
#psicoterapia-distanza h4 {
    font-size: 1.2rem;
}
#about-me .info-ord-psic .btn i {
    margin-left: 3px;
    font-size: 1.2rem;
    position: relative;
    top: -3px;
}
#about-me .info-ord-psic .btn i.bi::before {
    font-weight: 600 !important;
}
.data-pubblicazione.text-primary {
   margin-bottom: 1rem;
   margin-top: 0rem;

}
html[data-bs-theme="light"] .data-pubblicazione.text-primary  {
   color: #939fa6 !important;
}
#about-me img.rounded-circle {
  border: 5px solid #79a2bd;
}
#psicoterapia-distanza img.rounded-circle {
  border: 5px solid #79a2bd;
}
#aree-intervento .card-title{
    margin-bottom: 1rem;
}
#about-me, #aree-intervento, #last-posts, #contatti, #servizi {
  padding-top: 5rem;
}
#psicoterapia-distanza {padding-top: 2rem;}
.blog-banner{
    position: relative;
    padding-bottom: 1rem;
    bottom: -20px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.blog-banner p{
    font-size: 1.235rem;
    font-weight: 500;
    margin-bottom: 0px;
    margin-top: 10px;
    color: #e1f1ff;
}
.blog-banner-innerpage p{
    font-size: 1.235rem;
    font-weight: 500;
    margin-bottom: 0px;
    margin-top: 10px;
    color: #e1f1ff;
}
.blog-banner a{
  margin-left: 3rem; 
}
/* .psicoterapia-distanza-subsection {
  position: relative;
    padding-bottom: 1rem;
    bottom: -32px;
    margin-top: 2rem;
    margin-left: -3rem;
    margin-right: -3rem;
    width: calc(100% + 6rem);
}
.psicoterapia-distanza-subsection p{
  margin-left: 3rem;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0px;
    margin-top: 0.5rem;
}
.psicoterapia-distanza-subsection a{
  margin-left: 3rem; 
} */
#contatti .contatti-top li{
    margin-bottom: 1rem;
}
#contatti .contatti-top li h2{
    font-size:  1.25rem;
    font-family: "Poppins", sans-serif;
  font-optical-sizing: auto;
}
#contatti h3{
    font-size:  1.125rem;
     font-family: "Poppins", sans-serif;
  font-optical-sizing: auto;
}
.icon-link.gmaps-link{
  display: flex;
    justify-content: flex-start;
    align-items: center;
}
.embed-responsive-item {
  border:2px solid #79a2bd !important;
  min-height: 320px;
}
#contatti .contatti-top li i{
    margin-right: 5px;
    font-size: 1.275rem;
}
.gmaps-logo {
    max-width: 28px;
    position: absolute;
    right: 0px;
    margin-right: 5rem;
    margin-top: -1rem;
}

/*custom light theme colors */
html[data-bs-theme="light"] #contatti .contatti-top li i{
  color: #377096;
}
html[data-bs-theme="light"] #contatti h2,
html[data-bs-theme="light"] #contatti h3{
  color: rgb(55, 113, 150);
}
html[data-bs-theme="light"] #home,
html[data-bs-theme="light"] #contatti,
html[data-bs-theme="light"] #all-posts,
html[data-bs-theme="light"] #psicoterapia-distanza{
  background-color: rgb(216 238 255 / 18%);
}
html[data-bs-theme="light"] #about-me{
  background-color: #c6e1f2;
}
html[data-bs-theme="light"] .text-primary {
    --bs-text-opacity: 1;
    color: rgb(55 113 150) !important;
}
html[data-bs-theme="light"]  #about-me strong {
   color: rgb(55 113 150) !important
}
html[data-bs-theme="light"] #about-me .text-primary {
    color: rgb(55 113 150) !important
}
html[data-bs-theme="light"] #aree-intervento{
   background-color: #a6cce5;
}
html[data-bs-theme="light"] #servizi{
  background-color: #1a415f;
}
html[data-bs-theme="light"] #aree-intervento .text-primary{
    color:rgb(55 113 150) !important;
}
html[data-bs-theme="light"] #servizi  .text-primary{ 
  color: rgb(153 190 221) !important;
}
html[data-bs-theme="light"] #servizi{ 
  color: rgb(204, 230, 251) !important;
}
html[data-bs-theme="light"] #aree-intervento .card-title{
    color: #377196;
}
html[data-bs-theme="light"]  #last-posts .card, 
html[data-bs-theme="light"]  #all-posts .card {
  --bs-card-title-color:rgb(55, 113, 150); 
  background-color: #fafaff !important;
  --bs-card-cap-bg: transparent;
}
#last-posts  .card-body a.btn,
.card-body a.btn {border-radius:20px;}
html[data-bs-theme="light"]  #last-posts .blog-banner{
  background-color: #377196;
}
html[data-bs-theme="light"]  .blog-banner-innerpage{
  background-color: #377196;
}
html[data-bs-theme="light"]  #last-posts .blog-banner .btn-primary{
    box-shadow: 0px 0px 0 100px rgb(20 78 115) inset;
    border-color: transparent;
}
html[data-bs-theme="light"] .psicoterapia-distanza-subsection{
    background-color: rgb(213 233 251);
}
html[data-bs-theme="light"] #aree-intervento .card-title::after{
  content: "";
  position: relative;
    display: block;
    width: 40%;
    background: #79a2bd;
    height: 2px;
    margin: auto;
    top: 5px;
}
html[data-bs-theme="light"] #aree-intervento .card{
  --bs-card-bg: #f6fcff;
}
html[data-bs-theme="light"] #last-posts{
  background-color: #c9e6f9;
}
html[data-bs-theme="light"]  footer {
    background-color: #102736;
    color: #ccd9e2;
}

html[data-bs-theme="light"]  footer h5 {
    color: rgb(85, 129, 163);
}
html[data-bs-theme="light"]  footer .blockquote {
    color: #86badf;
}
html[data-bs-theme="light"]  footer .blockquote-footer{
    color: #6b8ca4;
}
html[data-bs-theme="light"]  footer a {
    color: rgb(213 233 251);
}
/*custom dark theme colors */
html[data-bs-theme="dark"]  footer {background-color:#04151f;}
html[data-bs-theme="dark"] .text-primary {
    color: #70c2f3 !important;
}
html[data-bs-theme="dark"] p.lead {
    color: #a4c9e5 !important;
}
html[data-bs-theme="dark"]  section a:not(.btn) {
color:rgb(111 175 223);
}
html[data-bs-theme="dark"]  #about-me .info-ord-psic a.btn.btn-link{
color:rgb(111 175 223);
}
html[data-bs-theme="dark"]  #about-me{background-color: #062a46;}
html[data-bs-theme="dark"]  #aree-intervento{background-color: #03121f;}
html[data-bs-theme="dark"]  .blog-banner {background-color: transparent;}
html[data-bs-theme="dark"]  #contatti{background-color: #0a2e4b;}

/*FOOTER */
footer{
  font-size: 0.9rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  
}
footer .logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}
footer .logo-container .graphic-logo-element{
  max-width: 60px;
  margin-right: 8px;
}
footer .logo-container small {
    position: absolute;
    margin: -20px 0px 0px 68px;
}
footer h5{
    font-size: 1.15rem;
    margin-bottom: 1.275rem;
}
footer .blockquote {
    margin-bottom: 1rem;
    font-size: 1rem;
}
footer .contacts li {
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #48426e;
    width: 80%;
}
footer .copy-footer .col-md-12{
  display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
footer a {
    text-decoration: underline;
}
footer a.footer-brand {text-decoration: none;}
footer  hr.bg-light{    color: #68a1ce;}

footer .graphic-logo-text{
  font-family: "Poppins", sans-serif;
    font-size: 1.5rem;
  }
footer .graphic-logo-text small{
     font-family: "Poppins", sans-serif;
  font-optical-sizing: auto;
    color: #6091b7;
    font-size: 0.825rem;
    position: relative;
    top: -35px;
  }
footer .link-group-bottom{
  margin-top: 2.5rem;
}
footer .link-group-bottom h5{
  margin-bottom: 0.75rem;
}
footer .container-fluid .row>* {
  padding-left: 0px;
  padding-right: 0px;
}
footer .info-group-middle{
  position: relative;
  margin-top: -1.5rem;
}
.copy-footer i{
  position: relative;
  color: #68a1ce;
  margin-left: 3px;
  top:-2px;
}
/* THEME SWITCHER */
.theme-switcher{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    margin-top: 4rem;
}
.theme-switcher .small-text {
    font-size: 0.75rem;
}
/* ANIMATED X */
.navbar-toggler.x {
  border: none;
}
.navbar-toggler.x:focus {
  outline: 0;
  box-shadow: none;
}
.navbar-toggler.x[aria-expanded=true] .icon-bar:nth-of-type(1) {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transform-origin: 10% 10%;
  -ms-transform-origin: 10% 10%;
  transform-origin: 10% 10%;
}
.navbar-toggler.x[aria-expanded=true] .icon-bar:nth-of-type(2) {
  opacity: 0;
  filter: alpha(opacity=0);
}
.navbar-toggler.x[aria-expanded=true] .icon-bar:nth-of-type(3) {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transform-origin: 10% 90%;
  -ms-transform-origin: 10% 90%;
  transform-origin: 10% 90%;
}
.navbar-toggler.x .icon-bar {
  width: 22px;
  display: block;
  height: 2px;
  background-color: rgb(55, 113, 150);
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.navbar-toggler.x .icon-bar + .icon-bar {
  margin-top: 4px;
}
.navbar-toggler.x .icon-bar:nth-of-type(1) {
  -webkit-transform: rotate(0);
  -ms-transform: rotate(0);
  transform: rotate(0);
}
.navbar-toggler.x .icon-bar:nth-of-type(2) {
  opacity: 1;
  filter: alpha(opacity=100);
}
.navbar-toggler.x .icon-bar:nth-of-type(3) {
  -webkit-transform: rotate(0);
  -ms-transform: rotate(0);
  transform: rotate(0);
}

/* ANIMATED PLUS per le faq */
.navbar-toggler.plus {
  border: none;
}
.navbar-toggler.plus:focus {
  outline: none;
  box-shadow: none;
}
.navbar-toggler.plus[aria-expanded=true] .icon-bar:nth-of-type(1) {
  transform: translate3d(0px, 6px, 0) rotate(90deg);
  transform-origin: center center;
}
.navbar-toggler.plus[aria-expanded=true] .icon-bar:nth-of-type(3) {
  transform: translate3d(0px, -6px, 0) rotate(-90deg);
  transform-origin: center center;
}
.navbar-toggler.plus .icon-bar {
  width: 22px;
  display: block;
  height: 2px;
  background-color: #fff;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.navbar-toggler.plus .icon-bar + .icon-bar {
  margin-top: 4px;
}
.navbar-toggler.plus .icon-bar:nth-of-type(1) {
  transform: translate3d(0, 0, 0) rotate(0deg);
}
.navbar-toggler.plus .icon-bar:nth-of-type(2) {
  transform: translate3d(0, 0, 0) rotate(0deg);
}
.navbar-toggler.plus .icon-bar:nth-of-type(3) {
  transform: translate3d(0, 0, 0) rotate(0deg);
}

/* ANIMATED MINUS */
.navbar-toggler.minus {
  border: none;
}
.navbar-toggler.minus:focus {
  outline: none;
  box-shadow: none;
}
.navbar-toggler.minus[aria-expanded=true] .icon-bar:nth-of-type(1) {
  transform: translate3d(0, 6px, 0);
}
.navbar-toggler.minus[aria-expanded=true] .icon-bar:nth-of-type(3) {
  transform: translate3d(0, -6px, 0);
}
.navbar-toggler.minus .icon-bar {
  width: 22px;
  display: block;
  height: 2px;
  background-color: #fff;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.navbar-toggler.minus .icon-bar + .icon-bar {
  margin-top: 4px;
}
.navbar-toggler.minus .icon-bar:nth-of-type(1) {
  transform: translate3d(0, 0, 0) rotate(0deg);
}
.navbar-toggler.minus .icon-bar:nth-of-type(2) {
  transform: translate3d(0, 0, 0) rotate(0deg);
}
.navbar-toggler.minus .icon-bar:nth-of-type(3) {
  transform: translate3d(0, 0, 0) rotate(0deg);
}
.navbar-collapse.show a.nav-link {
    background: linear-gradient(currentColor 0 0) 0 100% / var(--d, 0) 2px no-repeat;
    text-decoration: none;
    transition: ease 0.3s;
    border-bottom: 1px solid #ccc;
    background-color: #ecf8ff;
}
.navbar-collapse.show  {
    background-color: #ecf8ff;
}
.navbar-collapse.show li.nav-item {
  margin-left:1rem;
  margin-right:1rem;
}
/* .navbar-collapse.show {margin-left: -1.5rem;} */
/* @media (max-width: 991px) {
  .navbar.navbar-expand-lg.navbar-light .navbar-nav{
    background-color: #03121f;
  }
}
 */

/*pulsing button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

.pulsing-button .btn-pulse {
    animation: pulse 1.5s infinite;
    border-radius: 65rem;
    width: 4rem;
    height: 4rem;
    line-height: 3.575rem;
}

/*contact card : #about-me */
.social-icons-header i{
    transition: all 0.3s ease;
    cursor: pointer;
  }
.social-icons-header i:hover {
    color:#79a2bd;
  }
.divider{
  height: 2px;
  width: 100%;
  background: blue;
  background: linear-gradient(90deg, hsl(203.82deg 34% 60.78%), hsl(0, 0%, 70%), hsl(203.81deg 31.98% 61.37%));
}
html[data-bs-theme="light"] .innerpage .text-primary {
    color: rgb(58 92 118) !important;
}
html[data-bs-theme="light"] .innerpage .text-secondary {
    --bs-text-opacity: 1;
    color: rgb(86 133 169) !important;
}
.bibliografia {margin-top: 4rem;font-size: 0.9rem;}
.bibliografia h4.text-secondary{
  font-size: 1.25rem;
  color:rgb(105 151 180) !important;
      border-top: 1px dashed #5685a9;
    padding-top: 1rem;
}
@media (max-width: 991px) {
  .social-icons-header {
  display: flex;
          justify-content: flex-start;
          position: relative;
          left: 0rem;
          margin-top: 10px; 
        margin-left: 1rem;
        flex-direction: row;
        margin-bottom: 2rem;
  }
  
  .position-fixed.pulsing-button{
      left: 1rem !important;
      max-width:50%;
  }
}
@media (max-width: 576px) {

.container-fluid {
  --bs-gutter-x: 0rem;
}
.logo-container {margin-left: 1rem;}

  /* .container,
  .container-fluid,
  .container-xxl,
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm {
    --bs-gutter-x: 0rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right:  0.5rem;
    padding-left: 0.5rem;
    margin-right: auto;
    margin-left: auto;
  }
  section {
  min-height: calc(100vh - 80px);
          padding: 2rem 1rem;
          margin-left: 0px;
          margin-right: 0px;
     
  }
  .hero-section .btn, .container-fluid.blog-banner  .btn{
        padding-left: 0.375rem;
        padding-right: 0.375rem;
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
  } */
  .container-fluid.blog-banner .btn{
    margin-top:20px;
  }
  #about-me, #aree-intervento, #last-posts, #contatti, #servizi {
    padding-top: 2rem;
  }
  #about-me h1.text-primary, #aree-intervento h1.text-primary, #last-posts h1.text-primary, #contatti h1.text-primary, #servizi h1.text-primary{
    text-align: left !important;
  }
  .text-primary.info-ord-psic a{
    text-align: left !important;
  }
  .card.h-100 .card-body.text-center{
    text-align: left !important;
  }
}
/*innerpages: articoli */
.btn-back-blog {
  position: absolute;
  right: 0px;
  margin-right: 2.5rem;
}

/*OTTIMIZZAZIONE SMALL DEVICES */
@media (max-width: 576px) {
  .btn-back-blog {
    position: absolute;
    min-width: 75vw;
    display: block;
    left: 0rem;
    margin-left: 1.5rem;   
  }
 .article-title h1.text-primary {
  margin-top: 3.5rem;
 }
}

/*FAQ*/

.accordion-item {
    border: none;
    border-bottom: 1px solid #e0e0e0;
}

.accordion-button {
    padding: 20px 0;
    font-weight: 600;

    background-color: transparent;
}

.accordion-button:not(.collapsed) {

    background-color: transparent;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 0 0 20px 0;
}


/* ===== Scrollbar CSS ===== */
/* Firefox */

/******************************/



/* Per tutti gli elementi con scrollbar */
::-webkit-scrollbar {
    width: 8px; /* Spessore minimal */
    background: #144E73; /* Sfondo azzurrino chiaro */
    background: transparent;
}

/* La "traccia" della scrollbar (sfondo) */
::-webkit-scrollbar-track {
    background: #f0f8ff; /* Ancora più chiaro, per effetto soft */
    border-radius: 10px;
}

/* La "maniglia" della scrollbar (quella che si muove) */
::-webkit-scrollbar-thumb {
    background: #377196; /* Celeste più intenso e elegante */
    border-radius: 10px; /* Soft, curva elegante */
    border: 2px solid #e6f7ff; /* Bordo per effetto minimal */
}

/* Hover (quando ci passi sopra col mouse) */
::-webkit-scrollbar-thumb:hover {
    background: #68a5d4; /* Celeste un po' più acceso per feedback visivo */
}
/* Solo Firefox */
.scrollable {
  scrollbar-color: #80d0ff #f0f8ff;
  scrollbar-width: thin;
}
