.table-responsive {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.table-row {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}
.table-cell {
  padding: 12px;
  flex: 1 1 50%;
  box-sizing: border-box;
}
.table-label {
  background-color: cadetblue;
  font-weight: bold;
  border-right: 1px solid #ddd;
}
@media (max-width: 600px) {
  .table-row {
    flex-direction: column;
  }
  .table-label {
    border-right: none;
    border-bottom: 1px solid #ddd;
  }
}

.image-container { 
	margin-top: 30px;
	text-align: center;
	margin: auto;
	width: 100%; 
}
.center-map { margin: 0 auto; }
#popup, #overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
#overlay {
  background: rgba(0,0,0,0.5);
  z-index: 10;
}
#popup {
	transform: translate(-50%, 0%);
	margin-top: 80px;
	left: 50%;
	background: white;
	padding: 35px;
	color: black;
	height: 239px;
	border-radius: 10px;
	box-shadow: inset 0 0 10px 9px rgb(0 0 0 / 42%);
	z-index: 20;
	width: 384px;
}
#popup input[type="text"] {
  width: 100%; padding: 8px; margin-top: 10px;
}
#popup button {
  margin-top: 15px; padding: 8px 15px; cursor: pointer; border: none;
}
#next-step, #next {
  margin-top: 40px;
  padding: 12px 24px;
  background: #007bff; color: white;
  border: none; border-radius: 6px;
  font-size: 16px; cursor: pointer;
}

td, th {
	padding: 6px;
	border: 1px solid black;
}
.odd {background-color: teal; cursor: pointer; cursor: hand;}
.even {background-color: skyblue; color: black; cursor: pointer; cursor: hand;}

.panel-body a:link { color: #337ab7; text-decoration: underline; font-weight: 900;}
.panel-body a:visited { color: #337ab7; text-decoration: underline; font-weight: 900;}
.panel-body a:hover { color: #ccc; text-decoration: none; font-weight: 900;}
.panel-heading .accordion-toggle:after {
    font-family: 'Glyphicons Halflings';
    content: "\e114";
    float: right;
    color: grey;
}
.panel-heading .accordion-toggle.collapsed:after {
    content: "\e080";
}
.panel-title > a{ color: teal; text-decoration: none;}
.panel-body { color: black;}

.Filedata {display:none;}
.content {
	position: relative;
	width: 13em;
	max-width: 400px;
	min-height: 200px;
	background: #867979;
	border: solid 1px black;
}
.content img {
    width: 100%;
    height: auto;
}
.content .btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    background-color: #f1f1f1;
    color: black;
    font-size: 16px;
    padding: 16px 30px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
}
.content .btn:hover {
    background-color: black;
    color: white;
}
body:after {
    content: url(/images/patience.gif);
    display: none;
}

table, td {text-align: center;}
.new-video { width: 100%; }

.GridTable-row {
   display: grid;
   grid-template-columns: 33.3333% 66.6667%;
   gap: 0;
   border: 1px solid #ddd;
   border-radius: 6px;
   overflow: hidden;
}
.GridTable-cell {
   padding: 12px;
   box-sizing: border-box;
   text-align: left;
}
.GridTable-cell2 {
   background-color: whitesmoke;
   font-weight: bold;
   border-right: 1px solid #ddd;
   text-align: center;
}
@media (max-width: 600px) {
  .GridTable-row {
     display: flex;
     flex-direction: column;
  }
  .GridTable-row > .GridTable-cell {
     flex: 0 0 auto;
     width: 100%;
     max-width: 100%;
  }
}

.coul a:link { color: slateblue; text-decoration: underline;font-weight: bold;}
.coul a:visited { color: slateblue; text-decoration: underline;font-weight: bold;}
.coul a:hover { color: #337ab7; text-decoration: none;font-weight: bold;}
.maphilighted {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
#frmListe{ padding-left: 0px; }
#frmErreur{ margin-top: -19px; }


.video-container { display: flex; justify-content: center; gap: 20px; margin-top: 30px; }
.video-card { border: 2px solid #ccc; padding: 10px; width: 240px; border-radius: 10px; }
.video-card.selected { border-color: #ccc; background: teal; }
video {
	width: 200px;
	border-radius: 8px;
}
.video-container {
  display: flex;
  flex-wrap: wrap; /* permet le retour à la ligne */
  gap: 10px; /* espace entre les cartes, optionnel */
}

.video-card {
  flex: 0 0 calc(33.333% - 10px); /* 3 cartes par ligne, en soustrayant le gap */
  box-sizing: border-box;
}

button {
	margin-top: 10px; 
	padding: 8px 12px; 
	border: 2px solid #000; 
	border-radius: 6px; 
	cursor: pointer; 
	background-color: #007BFF;
	color: white; 
}
#next-step, #next { 
	margin-top: 30px; 
	padding: 12px 24px; 
	font-size: 16px; 
	background: #007BFF; 
	color: white; 
	border-radius: 8px;
}


#frmCorpBlogConteneur {
	display: block;
	text-align: left;
	margin-left: auto;
	margin-right: auto;
}
#frmCorpBlog {
	margin-left: 0px;
	margin-bottom: 0px;
	text-align: center;
}
@media (min-width: 320px) {
	#frmCorpBlogConteneur {
		margin-bottom: 109px;
		width: 305px;
	}
	#frmCorpBlog {
		width: auto;
		margin-left: 38px;
	}
}
@media (min-width: 375px) { /* Redmi Go Android 8.1 */
	#frmCorpBlogConteneur {
		margin-bottom: 65px;
		width: 366px;
	}
	#frmCorpBlog {
		width: auto;
		margin-left: 36px;
	}
}
@media (min-width: 425px) {
	#frmCorpBlogConteneur {
		margin-left: auto;
		margin-right: auto;
		padding-left: 0px;
		width: 416px;
		margin-bottom: 67px;
	}
	#frmCorpBlog {
		width: auto;
		width: 379px;
		margin-left: 37px;
	}
}
@media only screen and (min-width : 576px) { /*Césures BootStrap*/
}
@media (min-width: 768px) { /* frm passe en largeur fixe */
	#frmCorpBlogConteneur {
		display: contents;
	}
	#frmCorpBlog {
		margin-bottom: 85px;
		margin-left: 56px;
		width: 670px;
		margin-top: 44px;
	}
	#frmErreur{ margin-top: -9px; }
}
@media only screen and (min-width : 992px) { /*Césures BootStrap*/
	#frmCorpBlog {
		margin-left: 166px;
		width: 670px;
	}
}
@media (min-width: 1024px) {
	#frmCorpBlog {
		margin-bottom: 55px;
		margin-left: 70px;
		width: 866px;
	}
	#popup {
		transform: translate(-50%, -50%);
		margin-top: 300px;
	}
}
@media only screen and (min-width : 1200px) { /*Césures BootStrap*/
	#frmCorpBlog {
		margin-left: 170px;
		width: 865px;
	}
}
