@charset "utf-8";
body {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
	font-style: normal;
	color: #FFF;
	background-color: #FFFFFF;
	background-position: top center;
	margin-left: 0px;
	margin-top: 180px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-repeat: no-repeat;
	scrollbar-track-color: #e5e5e5;
	background-size: 120%;
}
#footer {
    position: fixed;
    bottom: 0;
    width: 101%;
    height: 24px;
    color: #939393;
    text-align: center;
    background-position: top center;
    background-repeat: no-repeat;
    padding-bottom: 5px;
    padding-top: 10px;
    background-color: #EBEBEB;
    z-index: 10;
    font-size: 10px;
}
#footer2 {
	position: fixed;
	width: 101%;
	height: 160px;
	color: #999999;
	padding-bottom: 10px;
	padding-top: 3px;
	background-color: #FFFFFF;
	z-index: 10;
	top: 0px;
	text-align: center;
	border-bottom: 1px solid #FFFFFF;
	background-image:url(../datas/ombrage.png);
	background-repeat:no-repeat;
	background-position:center bottom;
	background-size:80%;
	
}


#content {
	margin: 0px auto;
	padding: 0px;
	list-style-type: none;
	font-size: 15px;
	text-align: left;
	width: 75%;
	color: #333;
	padding-bottom: 80px;
	padding-left: 10px;
	padding-right: 10px;
}
#contentslide {
    margin: 0px auto;
    padding: 0px;
    list-style-type: none;
    text-align: center;
    width: 70%;
}


#selectionner {
	background-color: #D70204;
	color: #FFF;
}
.visuels {
	margin: 20px;
	float: right;
	border-color: #999999;
	border: 2px;
	padding: 3px;
	border-style: ridge;
	border-bottom-color: #999999;
	border-left-color: #999999;
	border-right-color: #999999;
	border-top-color: #999999;
	background-color: #FFFFFF;
	width: 25%;
	max-width: 230px;
}

.fancyzoom {
	margin: 4px;
	border-color: #999999;
	border: 1px;
	padding: 4px;
	border-style: solid;
	border-bottom-color: #999999;
	border-left-color: #999999;
	border-right-color: #999999;
	border-top-color: #999999;
	background-color: #FFFFFF;
}

h1 {
	color: #E0168F;
	font-size: 24px;
	text-transform: uppercase;
	text-align: center;
}
.titre {
	color: #E0168F;
	font-size: 18px;
	font-weight: bold;
}
.titrepetit {
	color: #E0168F;
	font-size: 14px;
	font-weight: bold;
}

.txtfr {
	color: #575757;
	font-size: 14px;
	text-decoration: none;
}
.txtgros {
	color: #333333;
	font-size: 24px;
	text-decoration: none;
	font-weight: bold;
}
.txtgrosdecale {
	color: #CCCCCC;
	font-size: 16px;
	text-decoration: none;
	padding-left: 40px;
}


.txtuk {
	color: #DA0000;
	font-size: 14px;
}


.txtlien {
	color: #939393;
}
.txtlien:visited {
	color: #FFF;
}
.txtlien:hover, .txtlien:focus, .txtlien:active {
	color: white;
	background-color: #C31A7F;
	text-decoration: none;
}
input, textarea, a { outline: none; }

.img
{
	opacity: 0.5;
	filter: alpha(opacity=50); /* For IE8 and earlier */
	padding: 5px;
	margin: 5px;
}
#formLeft {
	float: left;
	display: block;
	}
	#formLeft input {
	margin: 0 0 20px 0;
	border: none;
	text-align: center;
	background: none;
	margin: 2px 0 0 2px;
	font-size: 1.4em;
	}
	#formLeft .input-bg {
	height: 45px;
	margin-bottom: 10px;
	position: relative;
	background-color: #CCC;
	}
input.submit-button {
	float: right;
	padding-right: 10px;
}

#formRight {
	width: 360px;
	padding-right: 30px;
	float: right;
	}
	#formRight textarea {
	width: 298px;
	height: 209px;
	display: block;
	border: none;
	background: none;
	margin: 0 0 0 20px;
	padding: 10px 0 10px 0;
	font-family: Helvetica, sans-serif;
	font-size: 1.3em;
	overflow: auto;
	}
	#formRight .message-bg {
	height: 238px;
	background-color: #CCC;
	}
.img:hover
{
	opacity: 0.8;
	filter: alpha(opacity=80); /* For IE8 and earlier */
	text-decoration: none;
	padding: 5px;
	margin: 5px;
}
#demo A {
	   			display:block;
	   			float:left;
	   			width:400px;
	   			text-align:left;
	   			text-decoration:none;
	   			color:#e5e5e5;
	   			font-size:11px;
	   		}
	   		#demo{
	   			padding-left:200px;
	   		}
	   		#demo  ul {text-align:left;color:#000;}
	   		p.code{
	   			margin-left:60px;
	   		}
	   		pre{
	   			margin-left:60px;
	   			background:#CCC;
	   			padding:6px;
	   		}


.item {
	width: 200px;
	height: 120px;
	border: 4px solid #e5e5e5;
	margin: 10px;
	overflow: hidden;
	position: relative;
	float: left;
}
.vignette-border {
	border: 3px solid #e5e5e5;
	margin: 3px;
}

.item .caption {
	width: 180px;
	height: 100px;
	bottom: 10px;
	color: #F0F0F0;
	background: #000000;
	font-weight: normal;
	position: absolute;
	left: 10px;
	display: none;
	filter: alpha(opacity=82);
	-moz-opacity: 0.9;
	opacity: 0.9;
}
.item .caption a {
	text-decoration: none;
	color: #E0168F;
	font-size: 24px;
	padding: 5px;
	display: block;
	margin: 10px;
}
.item .caption p {
    padding:5px;
    margin:0;
    color:#fff;
    line-height:15px;
    font-size:12px;
}
.item img {
	border: 0;
	position: absolute;
	left: 0px;
	bottom: -1px;
}

#gallery {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            justify-content: center;
            padding: 10px;
        }

        .thumbnail {
            width: 150px;
            height: 150px;
            object-fit: cover;
            cursor: pointer;
            transition: transform 0.2s ease-in-out, box-shadow 0.2s;
            border: 6px solid #e5e5e5; /* Votre bordure personnalisée */
        }

        .thumbnail:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        #modal-view {
    display: none;
    position: fixed; /* <-- CELLE-CI EST CORRECTE */
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    /* La ligne ci-dessous était l'erreur, elle est maintenant supprimée */
    /* position: relative; */ 
}

        #modal-image {
            max-width: 85vw; /* un peu moins de place pour laisser voir les flèches */
            max-height: 90vh;
            border-radius: 5px;
        }

        #close {
            position: absolute;
            top: 15px;
            right: 35px;
            color: #fff;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            z-index: 1002; /* Doit être au-dessus des autres éléments */
        }

        /* --- NOUVEAU : Style pour les boutons de navigation --- */
        .nav-button {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: white;
            font-size: 3em; /* Taille des flèches */
            font-weight: bold;
            cursor: pointer;
            user-select: none; /* Empêche la sélection du texte des flèches */
            transition: color 0.2s;
            z-index: 1001;
            padding: 0 20px;
        }

        .nav-button:hover {
            color: #bbb; /* Change de couleur au survol */
        }

        #prev-button {
            left: 10px;
        }

        #next-button {
            right: 10px;
        }
        /* --- FIN DES NOUVEAUTÉS CSS --- */
