/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 13 2025 | 22:05:14 */
//fix

#sgi-map{
	position: relative ;
	width: 773px ;
	height: 485px ;
	max-width: 100% ;
	/* AJOUT pour éviter les bords visibles avec la mise à l'échelle */
	overflow: hidden ;
}

/* Dézoom Mapbox (visuel uniquement) :
   On agrandit virtuellement le conteneur interne, puis on le scale à 0.96
   pour simuler un léger dézoom sans bandes vides. Ajuste 0.96 entre 0.90–0.99. */
#sgi-map .mapboxgl-canvas-container{
	position: absolute;           /* garantit un centrage précis */
	left: 50%;
	top: 50%;
	width: calc(100% / 0.96);     /* compense la réduction pour remplir le conteneur */
	height: calc(100% / 0.96);
	transform: translate(-50%,-50%) scale(0.96);
	transform-origin: center center;
	will-change: transform;
}

/* Map Card CSS */

.single_mCard {
    background: #000;
    padding: 33px;
	display: none ;
	align-items: stretch;
	gap: 20px ;
	position: relative ;
}

.single_mCard.active {
	display: flex ;
	animation: slideUp .6s ease ;
}

@keyframes slideUp{
	from{
		transform: translateY(50%);
		opacity: 0 ;
	}
	
	to{
		transform: translateY(0%);
		opacity: 1 ;
	}
}

.single_mCard::before {
    content: "";
    position: absolute;
    background: url('https://sgia.nc/wp-content/uploads/2022/06/trace-1-1.png') center center no-repeat;
    width: 100%;
    height: 150px;
    left: 0;
    bottom: 0;
    background-size: cover;
}

.mCard-left {
    width: 50%;
}

.mCard-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

h2.mCard-address-title, h2.mCard-schedule-title {
    font-family: 'DIN';
    font-weight: 700;
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    line-height: 24px;
}

.mCard-left p {
    color: #D2D2D2;
    font-size: 14px;
    font-weight: 400;
    font-family: 'DIN';
    line-height: 20px;
}

.mCard-right img{
	position: relative ;
	z-index: 10
}

.mCard-red-btn {
    color: #fff;
    font-family: 'DIN';
    font-size: 16px;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
    font-weight: 600;
    background: #C20E1A;
    padding: 15px 20px;
    display: block;
    text-align: center;
}

.mCard-transparent-btn{
	color: #fff;
    font-family: 'DIN';
    font-size: 16px;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
    font-weight: 600;
    background: transparent;
    padding: 15px 20px;
    display: block;
    text-align: center;	
}

.mCard-red-btn:hover,
.mCard-transparent-btn:hover{
    color: #fff;
}

.mCard-transparent-btn::before {
    content: "";
    position: absolute;
    left: 26px;
    bottom: 8px;
    width: 10%;
    height: 2px;
    background: #fff;
	transition: all 0.4s ease ;
}

.mCard-transparent-btn:hover::before{
	width: 60% ;
}

.mCard-red-btn svg {
    position: relative;
    top: 5px;
    right: 6px;
}

@media(max-width: 500px){
	.single_mCard{
		flex-wrap: wrap;
	}
	
	.mCard-left{
		width: 100% ;
	}
	
	.mCard-right{
		width: 100% ;
		flex-direction: column-reverse
	}
}
