/* Wrapper covers the flow */
.step-bar-wrapper {
    margin-top: 110px;
}
.step-wrapper {
    padding: 20px 0;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    counter-reset: step;
}
.step-wrapper li{
  width:125px;
}
.step-wrapper li > a:before {
	content:'';
	width: 36px;
	height: 36px;
	display: block;
	font-size: 16px;
  font-weight:700;
  background-color: transparent;
	border-radius: 100%;
  z-index:1;
  position:absolute;
  text-align:center;
}
.step-wrapper li > a:after {
	content: counter(step);
	counter-increment: step;
	width: 36px;
	line-height: 36px;
	display: block;
	font-size: 16px;
  color:#bbb;
  font-weight:700;
  background-color: transparent;
	border-radius: 100%;
  z-index:1;
  position:absolute;
  text-align:center;
}
.step-wrapper li.completed > a:after {
  content:'\2713';
  color: currentColor;
}
.step-wrapper li:first-of-type a:before,
.step-wrapper li:first-of-type a:after{
  margin-left:-41px;
}
.step-wrapper li:last-of-type > a:before,
.step-wrapper li:last-of-type > a:after{
  margin-left:41px;
}
.step-wrapper li.completed > a:before{
  background: #fff;
  color:#c4c4c4;
  -webkit-box-shadow:0px 2px 4px 0px rgba(0,0,0,0.15);
  box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.15);
}
.step-wrapper li.active > a:before{
  background-color: rgb(241 140 8);
  -webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.15), inset 0px 0px 0px 0px rgba(0, 0, 0, 0.15), 0px 0px 9px 0px rgb(241 140 8);
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(247, 247, 247,0.5)), to(rgba(231, 231, 231,.01)));
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(247, 247, 247,0.5)), to(rgba(231, 231, 231,.01)));
  background-image: -webkit-linear-gradient(top, rgba(247, 247, 247,0.5), rgba(231, 231, 231,.01));
  background-image: -moz-linear-gradient(top, rgba(247, 247, 247,0.5), rgba(231, 231, 231,.01));
  background-image: -ms-linear-gradient(top, rgba(247, 247, 247,0.5), rgba(231, 231, 231,.01));
  background-image: -o-linear-gradient(top, rgba(247, 247, 247,0.5), rgba(231, 231, 231,.01));
}
.step-wrapper li.active > a:after{
  color:#fff;
}
.step-wrapper li span{
  display:block;
  width:100%;
  text-align:center;
  margin-bottom:15px;
}
.step-wrapper li span a{
  font-size: 14px;
  font-weight:700;
}
.step-wrapper li:not(.active):not(.completed) span a{
  color: #bbb;
}
.step-wrapper li > a{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow:hidden;
  height:48px
}
.step-wrapper li:first-of-type > a{
  padding-left: 40px;
}
.step-wrapper li:last-of-type > a{
  padding-right:40px;
}
.step-wrapper li > a svg{
  height: 48px;
  min-height: 48px;
  width: auto;
  position: absolute;
  display: inline-block;
  stroke-width: 0;
  transition:all 300ms ease-in-out;
}
.step-wrapper li > a svg{
  filter:url(#inset-shadow);
}
.event-footer div {
    width: 100%;
}ul.pagination {
    float: right;
}

.popup-bg-black {
    background: #3333338a;
    z-index: 9999 !important;
}a.nav-link.active {
    box-shadow: 0px 0px 4px 0 #b3b3b3;
    background: #fff !important;
}.navbar-vertical .navbar-nav>.nav-item .nav-link.active .icon-sm i {
    color: #000 !important;
}

.upload-overlay {
    background: rgba(0, 0, 0, 0.4); /* overlay semi-trasparente */
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 0.5rem;
}
.main-image:hover .upload-overlay {
    opacity: 1;
}.profile-card {
    background-repeat: no-repeat;
    background-size: contain;
}

.pr-0{
  padding-right: 0;
}

.chart-container {
  position: relative;
}
.family-chart-container {
  position: relative;
  height: 160px;
}
:root {
  --primary-blue: #f18c08;
  /* A nice light blue */
  --primary-blue-light: #5bbfc12e;
  /* Very light blue for the fill */
}
#family aside {
  max-width: 6rem !important;
}#family .navbar-brand span{
  display: none;
}#family main{
  margin-left: 7.5rem;
}#family aside .nav-item .ni {
  font-size: 24px !important;
}#family aside .nav-item {
  margin-top: 2rem;
}.family-welcome {
    background-color: #ffe6c6;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
}/* Responsive card sizing */
.event-card {
    flex: 0 0 auto;
    width: calc(100% - 1rem);
    margin-right: 1rem;
     width: 32.5% !important;
}.modal-content {
    min-height: 520px;
}.payment-box {
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s;
    user-select: none;
}

.payment-box input[type="radio"] {
    display: none;
}

.payment-box .box-content {
    text-align: center;
    font-weight: 500;
    color: #333;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 12px 20px;
    transition: all 0.3s;
}

.payment-box input[type="radio"]:checked + .box-content {
    border: 2px solid #f18c08;
    box-shadow: 0 0 10px rgb(241 140 8 / 49%);
    border-radius: 8px;
    color: #000000;
}aside#sidenav-main ul.navbar-nav li.nav-item-horizontal,
div#mobileMenu ul.navbar-nav li.nav-item {
    display: none;
}div#mobileMenu ul.navbar-nav li.nav-item-horizontal {
    width: 100%;
}.vh75 {
    height: 40vh;
}
.btn-close {
    background: #c1c1c1;
    border-radius: 30px;
}.d-event {
    margin-top: 30px;
}

.stat-panel {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}.form-check-input:checked {
    background-color: #f3b461 !important; /* Bootstrap blue */
    border-color: #f3b461 !important;
}
button.carousel-control-prev {
    margin: 0 !important;
}
button.carousel-control-next {
    right: 1.5rem !important;
}
button.carousel-control-prev, button.carousel-control-next {
    top: 1rem !important;
    width: 5%;
}



/* Custom colors to match the image design */
  .text-orange { color: #f58608 !important; }
  .bg-dark-custom { background-color: #2b2b2b; }
  .bg-brown-custom { background-color: #bf7616; }
  .bg-orange-custom { background-color: #f58608; }
  .bg-beige-custom { background-color: #e3ac6b; }
  
  /* Chart styling */
  .chart-container {
    height: 200px; /* Fixed height for the bars to align */
    position: relative;
  }
  
  .bar-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 20%;
  }

  .bar {
    width: 100%;
    border-radius: 15px; /* Rounded corners */
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    transition: height 0.5s ease;
  }

  .bar-label {
    background: white;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: fit-content;
  }

  .legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
  }
  
  .dashed-line {
     border-top: 1px dashed #ccc;
     position: absolute;
     top: 30px; /* Adjust to match the top of the +20% text */
     left: 45%;
     right: 25%;
     z-index: 0;
  }




/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .event-card {
        width: calc(50% - 1rem);
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .event-card {
        width: calc(33.333% - 1rem);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .event-card {
        width: calc(25% - 1rem);
    }
}

/* Hide mobile navigation on larger screens */
@media (min-width: 768px) {
    .d-md-none {
        display: none !important;
    }
}

/* Show desktop navigation on larger screens */
@media (max-width: 767.98px) {
    .d-none.d-md-flex {
        display: none !important;
    }
}

@media only screen and (max-width: 734px) {

  html, body {
    background: #fc9224;
    overscroll-behavior: none;
}.navbar.navbar-main {
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    width: 100%;
    padding: 10px !important;
    background: #f9fafb;
    margin: 0 auto !important;
    z-index: 10;
    box-shadow: none;
}.main-content-position {
    padding: 60px 0 80px 0;
}
  #family main{
  background: #fff !important;
}
.margin-mb-0 {
    padding: 0;
}
  .lead {
    font-size: 1.4rem;
  }
  .lead.main {
    font-size: 1.8rem;
}.family-welcome {
    padding-left: 2rem !important;
}
  .col-sm-6 {
    display: inline-block;
    width: 50%;
}.position-mb-fixed {
    box-shadow: 0px 0 10px 10px #ccc;
    position: fixed;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 95%;
  }.event-card {
    width: 100% !important;
  }.modal-dialog {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin: 0 !important;
  }.modal-content {
      min-height: 520px;
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
  }.container-fluid.px-4 {
    padding: 0 10px !important;
            min-height: 100vh;
}.navbar-main {
    margin: 0 10px !important;
}.eventSlider {
    background: #f8f8fa;
}.eventSlider .card-body {padding: 0 !important;}
.eventSlider .card-body .card .card-body {
    padding: 20px !important;
}.eventSlider .card-header {
    background: #f8f8fa;
    margin-bottom: 15px;
    padding: 0 2px !important;
}


.vh75 {
    height: 75vh;
}

.d-event li.page-item .page-link {
    width: 140px !important;
    height: 45px !important;
    border-radius: 10px !important;
    margin: 0;
}

.d-event {
    padding: 0 !important;
    margin-top: 20px;
}
.d-event ul {display: contents;}


.bg-mobile-screen nav.navbar, .bg-mobile-screen ul.step-wrapper li a.title {
    display: none;
}

.bg-mobile-screen h2 {
    color: #fff;
}
.bg-mobile-screen ul {
    color: #fff;
    padding-top: 10px;
}.step-bar-wrapper {
    margin-top: 30px;
    padding: 0 10px;
}.bg-mobile-screen label {
    text-align: left;
    width: 100%;
    margin-bottom: 0;
    margin-top: 10px;
}.bg-mobile-screen label.form-check-label {
    margin: 0;
}

.bg-mobile-screen ul.step-wrapper {
    margin-bottom: 0;
    padding-bottom: 0;
}
.bg-mobile-screen{
    background-image: url('../img/Login_backgroung.webp');
    background-size: cover;
    background-position: left;
    text-align: center;
    margin-top: -20px;
}.bg-mobile-screen .white-btn.btn-primary {
    background: #fff;
    color: #000;
}.bg-mobile-screen .btn-outline-primary {
    border-color: #fff;
    color: #fff;
}.bg-mobile-screen button.btn.btn-primary {
    width: 100%;
    margin-top: 10px;
}.bg-mobile-screen h1.d-none {
    display: block !important;
    margin-top: 20px;
}nav.inner-menu {
    position: fixed;
    top: 55px;
    width: 100%;
    background: #f9fafb;
    z-index: 1;
}.mobile-left {
    text-align: left !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}.mobile-right {
    text-align: right !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
}


