/*2025 new snippets*/

.rdCommands a::after {
  display:none;
  }

/* NEW BLUE BOXES by LUCA */

.blue-box {
  width: 100%;
  background-image: linear-gradient(90deg, #6eb1ef, #5692c9); /* Azzurro-Blu */
  color: #ffffff;
  border-radius: 7px;
  padding: 20px;
  transition: all 0.3s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.blue-box:hover {
  transform: scale(1.05); /* Aumenta la dimensione */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Ombra piÃ¹ intensa */
}




/* 01 new LINK STYLE */
main a {
  position: relative;
  color: #fbb800;
  text-decoration: none !important;
  display: inline-block;
}

main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background-image: linear-gradient(90deg, #ff8686, #fbb800);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

main a:hover::after {
  transform: scaleX(1);
}

main .animated-button a::after,
main h5.card-title a::after,
main .profile-container a::after {
  display:none;
  }



/* 02 New GRADIENT BUTTONS */

.btns {
  flex: 1 1 auto;
  margin:0 auto;
  padding: .4rem 3rem;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  border-radius: 15px;
  color:#fff;
  font-weight:bold;
 }

.btns:hover {
  color:#fff;
  }

.btns::after {
  display:none;
  color:#fff;
  }

.btns:a{
  color: #ffffff;
  }

.btns:hover {
  background-position: right center; /* change the direction of the change here */
}

.btns-1 {
  background-image: linear-gradient(to right, #fbb800 0%, #ff8686 51%, #fbb800 100%);
}

.btns-2 {
  background-image: linear-gradient(to right, #156b51 0%, #fbb800 51%, #156b51 100%);
}

.enlargeButton .btns-1 {
  color:#fff;
  }

.btns-3 {
  background-image: linear-gradient(to right, #e94f2b 0%, #ff8686 51%, #e94f2b 100%);
}

.enlargeButton .btns-2 {
  color:#fff;
  }

.enlargeButton .btns-3 {
  color:#fff;
  }





/* 03 NEW Read more button for images */

.sf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    /*max-width: 1200px;*/
    width: 100%;

    @media (max-width: 959px){
        & { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 767px){
        & { grid-template-columns: repeat(1, 1fr); }
    }
}

.sf-imagebox {

    > *:not(:last-child) {
        margin-bottom: 20px;
    }
   
    .image-wrapper {
        display: block;
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        line-height: 0;

        img {
            max-width: 100%;
            height: auto;
        }
    }

    .image-wrapper::after {
        display:none;
    }

    .trigger {
        display: inline-flex;
        align-items: center;
        position: absolute;
        right: 20px;
        bottom: 20px;
        padding: 6px;
        line-height: 1;
        background-image: linear-gradient(90deg, #ff8686, #fbb800);
        color: #fff;
        border-radius: 40px;
        font-weight: 500;
        text-align: center;

        .trigger-text {
            overflow: hidden;
            width: 0;
            white-space: nowrap;
            transition: width 0.3s ease-in-out;
        }
        .trigger-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            font-size: 18px;
            border-radius: 100%;
            background-color: rgba(255,255,255,.1);
            transition: all 0.3s ease-in-out;
        }
    }

    &:hover {
        .trigger {
            .trigger-text { width: 110px; }
            .trigger-icon { transform: rotate(360deg); }
        }
    }
    
}





/* 04 NEW Blue Featured Box */

.feature-box-1 {
  padding: 32px;
  box-shadow: 0 0 30px rgba(31, 45, 61, 0.125);
  margin: 15px 0;
  position: relative;
  z-index: 1;
  border-radius: 10px;
  overflow: hidden;
  -moz-transition: ease all 0.35s;
  -o-transition: ease all 0.35s;
  -webkit-transition: ease all 0.35s;
  transition: ease all 0.35s;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-box-1 * {
  -moz-transition: ease all 0.35s;
  -o-transition: ease all 0.35s;
  -webkit-transition: ease all 0.35s;
  transition: ease all 0.35s;
}
.feature-box-1 .icon {
  width: 50px;
  height: 50px;
  line-height: 50px;
  background-image: linear-gradient(90deg, #ff8686, #fbb800);
  color: #ffffff;
  text-align: center;
  border-radius: 50%;
  margin-bottom: 0;
  font-size: 27px;
  flex-shrink: 0;
}
.feature-box-1 .icon i {
  line-height: 50px;
}
.feature-box-1 .feature-content {
  display: flex;
  flex-direction: column;
}
.feature-box-1 h5 {
  color: #5692c9;
  font-weight: 600;
  margin: 0 0 8px 0;
}
.feature-box-1 p {
  margin: 0;
}
.feature-box-1:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: auto;
  right: 0;
  border-radius: 10px;
  width: 0;
  background-image: linear-gradient(90deg, #6eb1ef, #5692c9);
  z-index: -1;
  -moz-transition: ease all 0.35s;
  -o-transition: ease all 0.35s;
  -webkit-transition: ease all 0.35s;
  transition: ease all 0.35s;
}

.feature-box-1:before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(-45deg, #6eb1ef 0%, #5692c9 100% );
  z-index: -1;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.feature-box-1:hover {
  top: -5px;
}
.feature-box-1:hover h5 {
  color: #ffffff;
}
.feature-box-1:hover p {
  color: rgba(255, 255, 255, 0.8);
}
.feature-box-1:hover:after {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  left: 0;
  right: auto;
}
.section {
    padding: 100px 0;
    position: relative;
}
.section-title {
    padding-bottom: 45px;
}
.section-title h2 {
    font-weight: 700;
    color: #5692c9;
    font-size: 45px;
    margin: 0 0 15px;
    border-left: 5px solid #fbb800;
    padding-left: 15px;
}





/* 06 NEW Social media icons for National Chapters*/

.icon-sm{
    position:relative;
    color:#fbb800;
    width:40px;
    height:40px;
    font-size:30px;
    text-align:center;
    margin:0.5rem;
    cursor:pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.icon-sm::after, .icon-sm::before{
    content:" ";
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:100%;
    height:100%;
    border:1px solid #fbb800;
    opacity:0;
    transition: 0.3s;
}
.icon-sm:hover::after{
    opacity:1;
    transform:translate(-50%, -50%) scale(1.2) rotate(25deg);
    
}
.icon-sm:hover::before{
    opacity:1;
    transform:translate(-50%, -50%) scale(1.2) rotate(45deg);
}

.icon-sm a {
  z-index:10;
  }

.icon-sm a::after {
  display:none;
  }

/* 07 NEW Scrolling partners animation for footer */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.content .container{
    padding-top: 30px;
    padding-bottom: 20px;
    box-shadow: 0 0 30px rgba(31, 45, 61, 0.125);
}

.container .rollers{
    flex: 0 0 230px;
}

.container .start-roller{
    left: 0;
    top: 0;
    background-image: linear-gradient(to right, white 30%, #ffffff00);
}

.container .start-roller,
.container .end-roller{
    height: 100%;
    width: 40px;
    position: absolute;
    z-index: 1;
}

.container .end-roller{
    right: 0;
    top: 0;
    background-image: linear-gradient(to left, white 30%, rgba(255, 255, 255, 0));
}

.container .rollers .wrapper{
    position: relative;
    width: 1200px;
    height: 100px;
    margin: 0 0 20px 0;
    flex: 0 0 auto;
}

.container .rollers .wrapper .items-container{
    display: flex;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
    animation-duration: 40s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.container .rollers .wrapper .items-container.roll-LL{
    animation-name: roll;
}
.container .rollers .wrapper .items-container.roll-RL{
    animation-name: roll-reverse;
    left: 100%;
}
.container .rollers .wrapper .items-container.reverse-roll-LL{
    animation-name: roll-clockwise;
    left: -100%;
}
.container .rollers .wrapper .items-container.reverse-roll-RL{
    animation-name: roll-reverse-clockwise;
    left: 100%;
}

@keyframes roll {
    0%{
        left: 0%;
    }
    100%{
        left: -100%;
    }
}
@keyframes roll-reverse {
    0%{
        left: 100%;
    }
    100%{
        left: 0%;
    }
}
@keyframes roll-clockwise {
    0%{
        left: -100%;
    }
    100%{
        left: 0%;
    }
}
@keyframes roll-reverse-clockwise {
    0%{
        left: 0%;
    }
    100%{
        left: 100%;
    }
}

.container .rollers .wrapper .items-container .item{
    flex: 1 1 200px;
    min-width: 0;
    margin: 20px;
}

.container .rollers .wrapper .items-container .item .company{
    filter: grayscale(100%);
    opacity: 0.4;
    width: 100%;
    object-fit: contain;
}

.container .rollers .wrapper .items-container .item .company:hover{
    filter: grayscale(0%);
    opacity: 1;
    cursor: pointer;
}

.container img{
    vertical-align: middle;
}

@media (max-width: 575.5px) {
    .content{
        padding: 20px;
    }
    .content .container{
        padding: 20px;
    }
    .h3{
        font-size: calc(1.1rem + .6vw);
    }
    .fs-5 {
        font-size: 0.9rem!important;
    }
    .container .rollers .wrapper .items-container .item .company{
        opacity: 0.4;
    }
}



/* 10 new SCROLL TO TOP Arrow */

#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 60px;
  z-index: 99;
  border: none;
  outline: none;
  background-image: linear-gradient(90deg, #ff8686, #fbb800);
  color: white;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 16px;
  opacity: 0.8;
  transition: opacity 0.3s ease-in-out;
}

#scrollTopBtn:hover {
  opacity: 1;
}

#scrollTopBtn svg {
  display: block;
  margin: 0 auto;
}



/* 10 new ACCORDION */

.panel-group .panel{
            background-color: #fff;
            border:none;
            box-shadow:none;
            border-radius: 10px;
            margin-bottom:11px;
        }
        .panel .panel-heading{
            padding: 0;
            border-radius:10px;
            border: none;
        }
        .panel-heading a{
            color:#fff !important;
            display: block;
            border:none;
            padding:20px 35px 20px;
            font-size: 20px;
            background-image: linear-gradient(90deg, #ff8686, #fbb800);
            font-weight:600;
            position: relative;
            color:#fff;
            box-shadow:none;
            transition:all 0.1s ease 0;
        }
        .panel-heading a:after, .panel-heading a.collapsed:after{
            content: "\f068";
            font-family: fontawesome;
            text-align: center;
            position: absolute;
            left:-20px;
            top: 10px;
            color:#fff;
            background-image: linear-gradient(90deg, #ff8686, #fbb800);
            border: 5px solid #fff;
            font-size: 15px;
            width: 40px;
            height:40px;
            line-height: 30px;
            border-radius: 50%;
            transition:all 0.3s ease 0s;
        }
        .panel-heading:hover a:after,
        .panel-heading:hover a.collapsed:after{
            transform:rotate(360deg);
        }
        .panel-heading a.collapsed:after{
            content: "\f067";
        }
        #accordion .panel-body{
            background-color:#Fff;
            color:#8C8C8C;
            line-height: 25px;
            padding: 10px 25px 20px 35px ;
            border-top:none;
            font-size:14px;
            position: relative;
        }









/* NEW Timeline */

.timeline_area {
    position: relative;
    z-index: 1;
}
.single-timeline-area {
    position: relative;
    z-index: 1;
    padding-left: 240px;
}
@media only screen and (max-width: 575px) {
    .single-timeline-area {
        padding-left: 100px;
    }
}
.single-timeline-area .timeline-date {
    position: absolute;
    width: 240px;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding-right: 60px;
}
@media only screen and (max-width: 575px) {
    .single-timeline-area .timeline-date {
        width: 100px;
    }
}
.single-timeline-area .timeline-date::after {
    position: absolute;
    width: 3px;
    height: 100%;
    content: "";
    background-color: #ebebeb;
    top: 0;
    right: 36px;
    z-index: 1;
}
.single-timeline-area .timeline-date::before {
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-image: linear-gradient(90deg, #ff8686, #fbb800);
    content: "";
    top: 50%;
    right: 26px;
    z-index: 5;
    margin-top: -12.5px;
}
.single-timeline-area:hover .timeline-date::before {
    background-image: linear-gradient(90deg, #6eb1ef, #5692c9);
}
.single-timeline-area .timeline-date p {
    margin-bottom: 0;
    color: #020710;
    font-weight: 500;
}

.single-timeline-area .single-timeline-content {
    position: relative;
    z-index: 1;
    padding: 30px 30px 25px;
    border-radius: 8px;
    margin-bottom: 15px;
    margin-top: 15px;
    -webkit-box-shadow: 0 0.25rem 1rem 0 rgba(163, 163, 163, 0.3);
    box-shadow: 0 0.25rem 1rem 0 rgba(163, 163, 163, 0.3);
    border: 1px solid #ebebeb;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
@media only screen and (max-width: 575px) {
    .single-timeline-area .single-timeline-content {
        padding: 20px;
    }
}
.single-timeline-area .single-timeline-content .timeline-icon {
    -webkit-transition-duration: 500ms;
    transition-duration: 500ms;
    width: 40px;
    height: 40px;
    background-image: linear-gradient(90deg, #ff8686, #fbb800);
    -webkit-box-flex: 0;
    -ms-flex: 0 0 40px;
    flex: 0 0 40px;
    text-align: center;
    max-width: 40px;
    border-radius: 50%;
    margin-right: 15px;
}

.single-timeline-area .single-timeline-content .timeline-icon em {
    color: #ffffff;
    line-height: 40px;
}
.single-timeline-area .single-timeline-content .timeline-text h5 {
    -webkit-transition-duration: 500ms;
    transition-duration: 500ms;
}

.single-timeline-area .single-timeline-content .timeline-text p {
    margin-bottom: 0;
}


.single-timeline-area .single-timeline-content:hover .timeline-icon,
.single-timeline-area .single-timeline-content:focus .timeline-icon {
    background-image: linear-gradient(90deg, #ff8686, #fbb800);
}
.single-timeline-area .single-timeline-content:hover .timeline-text h5,
.single-timeline-area .single-timeline-content:focus .timeline-text h5 {
    color: #ffffff;
}
.single-timeline-area .single-timeline-content:hover .timeline-text p,
.single-timeline-area .single-timeline-content:focus .timeline-text p {
    color: #ffffff;
}
.single-timeline-area .single-timeline-content:hover .timeline-text li,
.single-timeline-area .single-timeline-content:focus .timeline-text li {
    color: #ffffff;
}



.single-timeline-area .single-timeline-content:hover,
.single-timeline-area .single-timeline-content:focus {
    background-image: linear-gradient(90deg, #6eb1ef, #5692c9);
    -webkit-box-shadow: 0 0.5rem 1.5rem 0 rgba(163, 163, 163, 0.3);
    box-shadow: 0 0.5rem 1.5rem 0 rgba(163, 163, 163, 0.3);
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
    cursor: pointer;
}




/*NEW PROGRAMMES MENU */
 
  .container-programmes {
    display: flex;
    justify-content: center;
    width: 90%;
    max-width: 1320px;
    margin: 0 auto;
  }
  
  .profile {
    position: relative;
    transition: all 0.3s;
  }
  
  .profile:hover {
    transform: translateY(-25px);
  }
  
  .profile img {
    max-width: 100%;
    border-radius: 50%;
    border: 1px solid #f3f2f2;
    box-shadow: 0 0 30px rgba(31, 45, 61, 0.125);
    cursor: pointer;
  }

  .profile:not(:first-child) img {
    margin-left: 0px;
  }
  
  .profile .name {
    position: absolute;
    background-image: linear-gradient(90deg, #ff8686, #fbb800);
    color: #fff;
    padding: 15px 30px;
    border-radius: 100px;
    bottom: -90px; left: 50%;
    white-space: nowrap;
    transform: translate(-50%, -50px);
    letter-spacing: 1px;
    font-size: 20px;
    opacity: 0;
    transition: all 0.3s;
  }
  
  .profile .name::before {
    content: "";
    position: absolute;
    width: 15px; height: 15px;
    background-color: #fbb800;
    top: 0; left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
  }
  
  .profile img:hover + .name {
    opacity: 1;
    transform: translateX(-50%);
    box-shadow: 0 0 30px rgba(31, 45, 61, 0.125);
  }


/* HOMEPAGE POPUP */

.popup-wrapper.svelte-1eal34e .pop-body.svelte-1eal34e h2 {
  font-size:1.8rem;
  }

.popup-wrapper.svelte-1eal34e .pop-body.svelte-1eal34e {
  line-height:1.5rem;
  }

.popup-wrapper.svelte-1eal34e .pop-header.svelte-1eal34e {
  display:inline-block !important;
  width:100%;
  }

.popup-wrapper.svelte-1eal34e .pop-header .btn-round.svelte-1eal34e {
  background:none transparent !important;
  border:0 !important;
  float:right;
  }

.popup-wrapper .title-category {
  color:#fff;
  }

.popup-wrapper .btn-icon .bi {
  display: inline-block;
  margin-left: .5rem;
  }





