/*
Theme Name: Régie Théatrale
Theme URI: https://be-net.fr
Description: ART (hello-elementor Child Theme)
Author: Bruno Villacampa
Author URI: https://villacampa.fr/
Template: hello-elementor
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

body {
	background-color:#f0f0f0;
	color:#666;
}
.bn-marge {
	margin:1rem 0;
}
.bn-erreur {
	margin:1rem 0;
	padding:0.5rem;
	border:solid #900 1px;
	background-color:#e0e0e0;
	color:#900;
	font-weight:700;
}
.bn-wait {
	position:fixed;
	top:0;
	left:0;
	width:100vw;
	height:100vh;
	line-height:100vh;
	background-color:rgba(0,0,0,0.6);
	text-align:center;
	vertical-align:middle;
	display:none;
	z-index:10000;
}
.bn-wait span {
	display:block;
	width:100px;
	height:100px;
	border-radius:100px;
	border:solid #900 1px;
	position:absolute;
	top:40vh;
	left:40vw;
	background: -moz-linear-gradient(-45deg,  rgba(153,0,0,0.7) 0%, rgba(153,0,0,0.7) 43%, rgba(153,0,0,0) 68%, rgba(153,0,0,0) 100%);
	background: -webkit-linear-gradient(-45deg,  rgba(153,0,0,0.7) 0%,rgba(153,0,0,0.7) 43%,rgba(153,0,0,0) 68%,rgba(153,0,0,0) 100%);
	background: linear-gradient(135deg,  rgba(153,0,0,0.7) 0%,rgba(153,0,0,0.7) 43%,rgba(153,0,0,0) 68%,rgba(153,0,0,0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3990000', endColorstr='#00990000',GradientType=1 );
}
.bn-button {
	display:inline-block;
	height:2rem;
	line-height:2rem;
	font-size:.9rem !important;
	border:solid 1px #c03;
	background:transparent;
	color:#c03;
	text-decoration:none !important;
	padding:0 1rem;
	border-radius:.25rem;
	font-weight:normal;
}
.bn-button:hover {
	background-color:#c03;
	color:white;
}
.dbretour {
	margin-top:2rem;
	border-bottom:solid 1px #c03;
	padding-bottom:1rem;
}
.dbretour h4 .num {
	display:inline-block;
	width:2rem;
	height:2rem;
	background-color:#c03;
	border-radius:1rem;
	color:white;
	text-align:center;
	line-height:2rem;
	padding:0;
	margin-right:.5rem;
}
.dbretour h4 small {
	font-weight:normal;
	font-size:50%;
}

.dbretour h4 a {
	font-size:75%;
}
.aj_listegen input[type='text'] {
	width:250px;
}

/* Style de fiche DATABASE ART */
.bn-fiche {
	display:flex;
	flex-wrap: wrap;
	gap: 1rem 1rem; /* row-gap column gap */
	background-color:#e0e0e0;
	padding:1rem;
}

.bn-fiche .break {
	height:0;
}
.bn-fiche h2 {
	flex-basis: 100%;
	color:#903;
}
.bn-fiche .bn-spectacles {
	padding:1rem;
	flex-basis:68%;
	box-sizing:border-box;
	background-color:#fff;
}
.bn-fiche .bn-spectacle {
	padding-left:1rem;
	border-left:solid 2px #903;
	margin-bottom:3rem;
	position:relative;
}
.bn-fiche .bn-spectacle:after {
	content:'';
	display:block;
	position:relative;
	top:1.5rem;
	height:1px;
	overflow:hidden;
	width:50%;
	margin:1.5rem auto;
	border-bottom:solid 1px #903;
}
.bn-fiche .bn-spectacle .bn-observation_representation,
.bn-fiche .bn-spectacle .bn-resume_representation {
	padding-left:1rem;
}
.bn-fiche .bn-personne {
	padding-left:1rem;
}
.bn-fiche .bn-personne h5 {
	font-size:80%;
}
.bn-fiche .bn-media {
	padding-left:1rem;
}

.bn-fiche .bn-medias {
	display:flex;
	flex-wrap: wrap;
	gap: 1rem 1rem; /* row-gap column gap */
}
.bn-fiche .bn-medias h4 {
	flex-basis: 100%;
}
.bn-fiche .bn-media {
	padding:0;
	flex-basis:24%;
	gap:1%;
	max-width:180px;
	box-sizing:border-box;
	background-color:#e0e0e0;
	border:solid 1px #903;
	justify-content:space-between;
}
.bn-fiche.bn-affiche {
	align-items: stretch;
}
.bn-fiche.bn-affiche .bn-media {
	flex-basis:18%;
	background-color:#fff;
}
.bn-fiche.bn-affiche .bn-media .bn-legende {
	padding:.25rem;
	font-size:75%;
	text-transform:uppercase;
	text-align:center;
}
.bn-fiche.bn-affiche .bn-media .bn-legende a {
	display:block;
}
.bn-fiche .bn-media img {
	max-width:100%;
	vertical-align:middle;
}

.bn-annexes {
	box-sizing:border-box;
	flex-basis:30%;
	background-color:#fff;
	padding:1rem;
}

.bn-fiche .bn-annexes .bn-media {
	flex-basis:46%;
}

.bn-fiche .bn-piece, 
.bn-fiche.bn-lstpersonnes .bn-personne {
	padding:1rem;
	flex-basis:32%;
	gap:1%;
	box-sizing:border-box;
	background-color:#e0e0e0;
	border:solid 1px #903;
	justify-content:space-between;
}

.bn-fiche .bn-personnes.bn-spectacles {
	flex-basis:100%;
	margin-right:1rem;
}
.bn-ovcontent {
	width:100vw;
	height:80vh;
	position:absolute;
	top:10vh;
	line-height:initial;
}
.bn-ovcontent .bn-fiche {
	width:975px;
	max-width:80%;
	height:80vh;
	overflow:scroll;
	background-color:#e0e0e0;
	border:solid gray .5rem;
	text-align:left;
	margin:0 auto;
}
.bn-navpage {
	text-align:center;
	margin:1rem 0;
}
.bn-navpage span,
.bn-navpage a {
	display:inline-block;
	width:2rem;
	height:2rem;
	line-height:1.75rem;
	border:solid #999 1px;
	border-radius:1rem;
	background-color:#e0e0e0;
	margin:0 .25rem;
	cursor:pointer;
	padding:0;
	text-decoration:none !important;
}
.bn-navpage span.bn-current {
	background-color:#fff;
	font-weight:700;
	cursor:default;
}
.bn-navpage a:hover {
	background-color:white;
	font-weight:700;
}
.bn-navpage a.bn-saut {
	color:#099;
	background-color:#ccf;
}

.bn-liste {
	list-style-type:none;
	margin:0;
	padding-left:1.5em;
}
.bn-liste li:before {
  content: " ";
  background-color: #903; 
  display: inline-block;
  width: .35em;
  height:.35em;
  margin: 0 1em 0 -1.25em;
}
@media screen and (max-width: 1024px) {
	.bn-fiche {
		display:block;
	}
	.bn-fiche .bn-spectacles {
	}
	.bn-fiche .bn-medias {
	}
	.bn-fiche .bn-annexes .bn-media {
		flex-basis:31%;
	}
	.bn-ovcontent {
		height:90vh;
		top:5vh;
	}
	.bn-ovcontent .bn-fiche {
		width:90vw;
		height:90vh;
	}

	.bn-fiche .bn-piece {
		flex-basis:100%;
		gap:0;
		margin-bottom:1rem;
	}

}