/* Hauteur du menu sticky : ajuste la valeur si besoin */
:root { --sticky-offset: 105px; }

/* Lisse le scroll natif */
html { scroll-behavior: smooth; }

/* Ajoute une marge de scroll à TOUT élément ciblé par un #id */
[id] { scroll-margin-top: var(--sticky-offset); }

/* Tu peux être plus spécifique si tu veux limiter aux sections Elementor :
.elementor-section[id], .elementor-container[id] { scroll-margin-top: var(--sticky-offset); }
*/



.ha-offcanvas-content-open .ha-offcanvas-container:after{z-index: inherit !important}
::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

::-webkit-scrollbar
{
	width: 10px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb
{
	background-color: #F90;	
	background-image: -webkit-linear-gradient(90deg,
	                                          rgba(255, 255, 255, .2) 25%,
											  transparent 25%,
											  transparent 50%,
											  rgba(255, 255, 255, .2) 50%,
											  rgba(255, 255, 255, .2) 75%,
											  transparent 75%,
											  transparent)
}


/* Mouse scroll */
.nextSlider{z-index:9999;}
.mouse{margin: 0 auto 10px;width: 30px;}
.mouse-icon{width: 20px;margin-left:7px;height: 35px;border: 2px solid white;border-radius: 15px;cursor: pointer;position: relative;text-align: center;}
.mouse-wheel{height: 4px;margin: 2px auto 0;display: block;width: 2px;background-color: white;border-radius: 50%;-webkit-animation: 1.6s ease infinite wheel-up-down;-moz-animation: 1.6s ease infinite wheel-up-down;animation: 1.6s ease infinite wheel-up-down;}
.mouse-indicator span{display: block;width: 5px;height: 5px;-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);-ms-transform: rotate(45deg);-o-transform: rotate(45deg);transform: rotate(45deg);border-right: 2px solid white;border-bottom: 2px solid white;margin: 0 0 0 14px;-webkit-animation: mouse-scroll 1s infinite;-moz-animation: wheel-up-down 1s infinite;}
.mouse-indicator .arrow1 {margin-top: 6px;-webkit-animation-delay: .1s;-moz-animation-delay: .1s;-webkit-animation-direction: alternate;}
.mouse-indicator .arrow2 {-webkit-animation-delay: .2s;-moz-animation-delay: .2s;-webkit-animation-direction: alternate;}
.mouse-indicator .arrow3 {-webkit-animation-delay: .3s;-moz-animation-delay: .3s;-webkit-animation-direction: alternate;}


/* Reset UIKIT*/
.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .moteur-section-label, .bridge-zone-moteur h5, .block-group-label, .custom-block h4, .bridge-fiche h1{    color: var( --e-global-color-primary );
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
    font-weight: var( --e-global-typography-primary-font-weight );}
.uk-subnav-pill>.uk-active>a,.uk-label{background-color: var( --e-global-color-primary) !important }

.ha-offcanvas-content .ha-offcanvas-header{z-index: auto !important}


.ficheproduit .uk-card-default{box-shadow: none; border:none;}
.ficheproduit .uk-card-default .bridge-body{padding:20px 15px 10px}
.ficheproduit .uk-card-default .bridge-body .surtitre {color:var( --e-global-color-f1d9ac4 ); text-transform: uppercase; font-size:12px; font-weight: bold}
.ficheproduit .uk-card-default .bridge-body .titre-de-la-fiche h2 {font-weight: 600;font-family: "Poppins Custom","Poppins",sans-serif; font-size:16px;color:#003c45 !important}
.ficheproduit .uk-card-default .bridge-body .sous-titre{font-size:16px;}

.uk-dotnav>.uk-active>*{background-color:var( --e-global-color-f1d9ac4 )}

/* Liste */

#ListeBridge .carousel h3{margin-bottom: 0}
#ListeBridge .carousel h4{margin-top: 10px; font-size: 20px}

.listeSIT .pictogrammes .itemTextValue img{background-color:#fff; padding:5px; border-radius:100%;}
.listeSIT .info-3 img{height:50px !important}

#ListeBridge .ficheproduit .bridge-body{position: static !important;}
.bridge-zone-moteur{background-color:#EDF8FA !important; box-shadow: none !important;}
.bridge-moteur-titre{display: none;}
.bridge-zone-moteur h5{margin-top:15px}
.bridge-zone-moteur .bridge-onoff-toggle{float:left;margin-right: 15px;}
.bridge-zone-moteur .bridge-onoff-toggle .bridge-onoff-active-bg{background-color:#f59825}

#tools li{background-color: var( --e-global-color-primary ); padding: 10px; margin: 0;display: block; text-align: center;position: relative;}
#tools li:hover{background-color: var( --e-global-color-secondary );color: #fff;}
#tools li span{display: block;}
#tools li:hover span.elementor-icon-list-text{position: absolute; background-color: #000; right: 90px; padding: 5px; color: #fff; font-size: 15px;top: 20px;width: 120px; display: inline-block;}
#tools li:hover span.elementor-icon-list-text:after{content: '';width: 10px; height: 10px;top: 10px; background-color: #000; display: block; position: absolute;right: -5px; transform: rotate(45deg);}

/* Fiche */
.bridge-fiche{margin-top:-125px;}
.bridge-fiche h1{font-size:5rem; color:#fff;}
.bridge-fiche table tbody>tr:nth-child(odd)>td,.bridge-fiche  table tbody>tr:nth-child(odd)>th{border-color:#fff; background-color:#EDF8FA}
.bridge-fiche table td,.bridge-fiche table th{border-color:#fff;}*
.bridge-fiche table th{font-weight: bold;}
.bridge-fiche h1 img,.bridge-fiche h1 svg{max-height: 50px; margin-left:10px}
.bridge-fiche h1+.classements-labels span.itemTextValue{background-color:#fff; width:40px !important; height:40px !important;line-height:40px !important;border-radius:50%; padding:5px;display: flex;vertical-align: middle;}
.bridge-fiche h1+.classements-labels img{margin:auto; display: block; text-align: center; padding:0 0; max-height: 40px; height: auto; width:auto;}
.uk-divider-icon{display: none; background-image:url('/wp-content/uploads/2023/01/favicon-besancon.png'); background-size:24px 24px}
.uk-divider-icon::after, .uk-divider-icon::before,.uk-list-divider>:nth-child(n+2){border-color:#EDF8FA}
.sommaire .uk-text-bold a{color:#f59825}
.containerblockSection .uk-tile-muted{background-color:#EDF8FA; padding:10px;}
.bridge-fiche .bridge-fiche-content{padding-top:0; padding-bottom:0}


.bridge-fiche.fiche-1  .bridge-fiche-aside{top:0}
.bridge-fiche-aside .uk-card-default{background-color:#EDF8FA; box-shadow: none !important}
.bridge-fiche-aside .reseaux {margin:20px 0}
.bridge-fiche-aside .reseaux a{background-color:#f59825; color:#fff; padding:3px 0; width:30px; height:30px;display: block;text-align: center; border-radius: 50%}
.bridge-fiche-aside .reseaux a:hover,.bridge-fiche-aside .uk-button.uk-button-primary:hover{background-color:#222;}
.bridge-fiche-aside .uk-button{border:none; background-color:#fff;}
.bridge-fiche-aside .uk-button.uk-button-primary{background-color:#f59825; color:#fff;}
.bridge-fiche-aside .uk-button.uk-button-primary.add-to-cv-button{width:100%;padding:0 5px; }
.bridge-fiche-aside .uk-button.uk-button-primary.add-to-cv-button:disabled{font-size:11px; background-color:#003c45}

/* Bouton Booster */
.elementor-button, .ha-slider-button,.bridge-view-more-button-container .bridge-view-more-button{position: relative;display: inline-block;font-family: "Poppins Custom","Poppins",sans-serif;font-weight: 500;text-transform: uppercase;letter-spacing: .2em;text-align: center;
white-space: nowrap;vertical-align: middle;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;background-color: var( --e-global-color-f1d9ac4 );border: 0.5rem solid transparent;-webkit-appearance: none;-moz-appearance: none;appearance: none;height: 3.25rem;line-height: 2.25rem;padding: 0 2.5rem;font-size: .75rem;border-radius: 1.625rem;
-webkit-transition: color .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),background-color .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),border-color .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),-webkit-box-shadow .4s cubic-bezier(0.47, 0.01, 0.37, 0.98);transition: color .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),background-color .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),border-color .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),-webkit-box-shadow .4s cubic-bezier(0.47, 0.01, 0.37, 0.98);-moz-transition: color .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),background-color .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),border-color .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),box-shadow .4s cubic-bezier(0.47, 0.01, 0.37, 0.98);transition: color .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),background-color .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),border-color .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),box-shadow .4s cubic-bezier(0.47, 0.01, 0.37, 0.98);transition: color .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),background-color .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),border-color .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),box-shadow .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),-webkit-box-shadow .4s cubic-bezier(0.47, 0.01, 0.37, 0.98);}
.elementor-button:hover,
.ha-slider-button:hover, 
.bridge-view-more-button:hover{color: #fff;background-color: var( --e-global-color-f1d9ac4 );border-color: var( --e-global-color-f1d9ac4 );}
.elementor-button::before,
.elementor-button::after,
.ha-slider-button::before,
.ha-slider-button::after,
.bridge-view-more-button::before,
.bridge-view-more-button::after{ -webkit-transform: scale(1);-moz-transform: scale(1);transform: scale(1);   content: '';position: absolute;top: -0.5rem;width: 1.625rem;height: 3.25rem;border: 0.5rem solid rgba(0,0,0,0.3);border-radius: inherit;-webkit-transition: border-color .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),-webkit-transform .4s cubic-bezier(0.47, 0.01, 0.37, 0.98);
transition: border-color .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),-webkit-transform .4s cubic-bezier(0.47, 0.01, 0.37, 0.98);-moz-transition: transform .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),border-color .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),-moz-transform .4s cubic-bezier(0.47, 0.01, 0.37, 0.98);transition: transform .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),border-color .4s cubic-bezier(0.47, 0.01, 0.37, 0.98);transition: transform .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),border-color .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),-webkit-transform .4s cubic-bezier(0.47, 0.01, 0.37, 0.98),-moz-transform .4s cubic-bezier(0.47, 0.01, 0.37, 0.98);}
.elementor-button::before,
.ha-slider-button::before,
.bridge-view-more-button::before{left: -0.5rem;border-right: none;border-top-right-radius: 0;border-bottom-right-radius: 0;-webkit-transform-origin: right center;-moz-transform-origin: right center;transform-origin: right center;}
button.elementor-button::before{left:0rem;top:0rem;}
.elementor-button::after,
.ha-slider-button::after,
.bridge-view-more-button::after{right: -0.5rem;border-left: none;border-top-left-radius: 0;border-bottom-left-radius: 0;-webkit-transform-origin: left center;-moz-transform-origin: left center;transform-origin: left center;}
button.elementor-button::after{right:0rem;top:0rem;}
.elementor-button:hover::before,
.elementor-button:hover::after,
.ha-slider-button:hover::before,
.ha-slider-button:hover::after,
.bridge-view-more-button:hover::before,
.bridge-view-more-button:hover::after{-webkit-transform: scale(0.75);-moz-transform: scale(0.75);transform: scale(0.75);}
.bridge-view-more-button-container .bridge-view-more-button{color:#fff;}
.scroll-status{position: absolute;}

.uk-slidenav{background-color:var( --e-global-color-f1d9ac4 ) !important;border-radius: 50% !important;padding: 5px 0 !important;text-align: center; width: 45px !important; line-height: 45px !important;  height: 45px !important;border:1px solid var( --e-global-color-f1d9ac4 ) !important}
.uk-slidenav svg{color:#fff; fill:#fff !important;}
.uk-slidenav:hover{background-color:var(--e-global-color-accent ) !important;}

.hm-toc-items .hm-toc-title{position: relative;}
.hm-toc-items .hm-toc-title:after{content:"\f078"; position: absolute;top:8px; right:15px;font-family: 'FontAwesome'; font-size: 18px;transition:* .5s ease}
.hm-toc-items .hm-toc-title.open:after{transform: rotate(180deg);}
.hm-toc-items .hm-toc-title:hover{cursor:pointer;}
.hm-toc-items .hm-toc-title+ul{display:none;}

.grecaptcha-badge{display:none;}
.bridge_fiches_associees_container .ficheproduit .bridge-body{position: static  !important}

.bridge_fiches_associees_container .ficheproduit .bridge-cv-button-container,
#ListeBridge .ficheproduit .bridge-cv-button-container{position: absolute;left:15px !important; top:15px !important;display: block; width:45px !important;}
.bridge_fiches_associees_container .ficheproduit .bridge-cv-button-container .add-to-cv-button,
#ListeBridge .ficheproduit .bridge-cv-button-container .add-to-cv-button{width: 100%;line-height: 30px;border-radius: 50%; height: 45px;border:none !important}
.bridge_fiches_associees_container .ficheproduit .bridge-cv-button-container .add-to-cv-button:hover,
.bridge_fiches_associees_container .ficheproduit .bridge-cv-button-container .add-to-cv-button:disabled,
#ListeBridge .ficheproduit .bridge-cv-button-container .add-to-cv-button:hover,
#ListeBridge .ficheproduit .bridge-cv-button-container .add-to-cv-button:disabled{background-color:#003c45 !important}
.bridge_fiches_associees_container .ficheproduit .bridge-cv-button-container .add-to-cv-button i.notInCV:before,
#ListeBridge .ficheproduit .bridge-cv-button-container .add-to-cv-button i.notInCV:before{content: "\e500" !important;color:#fff;}
.bridge_fiches_associees_container .ficheproduit .bridge-cv-button-container .add-to-cv-button i.isInCv:before,
#ListeBridge .ficheproduit .bridge-cv-button-container .add-to-cv-button i.isInCv:before{content: "\f004" !important;color:#fff;}

.elementor-background-slideshow__slide__image + span.credit-photo{border-radius:15px;position: absolute; bottom:15px; right:15px; color:#000; background-color:#fff; padding:3px 5px; font-size:12px; font-weight: bold;}
.elementor-col-50 .elementor-background-slideshow__slide__image + span.credit-photo{bottom:45px; right:45px;}
.bridge-credit-photo{border-radius:15px;position: absolute; bottom:15px; left:15px; color:#000; background-color:#fff; padding:3px 5px; font-size:12px; font-weight: bold;}

/* Carnet de voyage */
.cv_generate_pdf {width:100%; color:#fff !important;background-color:#003c45 !important}
.cv-delete-button{color:#000; border:none; border-radius:50%;}
.cv-delete-button:hover{background-color:#003c45 !important; color:#fff;}

/* Carte interactive */
.bridge-map-legend-content .bridge-map-subitem-text {display:flex;}
.bridge-map-legend-content .bridge-map-subitem-text img{height: 40px; width:30px; border:1px solid #F59825; background-color:#F59825; border-radius: 50%; padding:0 6px;}
.bridge-map-popup-content h3 svg{height:20px;}

.ha-offcanvas-close-bar-close-icon svg{width:15px}

.elementor-button-content-wrapper .elementor-button-text{line-height: 40px}


/* Animation */
@-webkit-keyframes wheel-up-down {
	0% {margin-top: 2px;opacity: 0;}
	30% {opacity: 1;}
	100% {margin-top: 20px;opacity: 0;}
}
@-moz-keyframes wheel-up-down {
	0% {margin-top: 2px;opacity: 0;}
	30% {opacity: 1;}
	100% {margin-top: 20px;opacity: 0;}
}
@keyframes wheel-up-down {
	0% {margin-top: 2px;opacity: 0;}
	30% {opacity: 1;}
	100% {margin-top: 20px;opacity: 0;}
}
@-webkit-keyframes mouse-scroll{0%{opacity:0;}50%{opacity:.5;}100%{opacity:1;}}@-moz-keyframes mouse-scroll{0%{opacity:0;}50%{opacity:.5;}100%{opacity:1;}}@-o-keyframes mouse-scroll{0%{opacity:0;}50%{opacity:.5;}100%{opacity:1;}}@keyframes mouse-scroll{0%{opacity:0;}50%{opacity:.5;}100%{opacity:1;}}


@media (max-width:769px){
	.bridge-fiche h1, .page-template-default h1{font-size:2.2rem !important;}
}