/* @import url('https://fonts.cdnfonts.com/css/algeria'); */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Aladin&family=Dynalight&family=Alex+Brush&display=swap');

html, body {
	position: relative;
	overflow-x: hidden;
	background-image: url("../img/fond-blanc.jpg");
}
.color-sepia{
	color: #53412b;
}

.font-aladin {
	font-family: "Aladin", system-ui;
}

.logo-A{
	--taille: 80px;
	font-size: var(--taille);
	line-height: calc( var(--taille) * 1.1 );
	display: inline-block;
	font-family: "Aladin", system-ui;
	width: var(--taille);
	height: var(--taille);
	background-image: linear-gradient(-45deg, #365ab1, #7ea9eb);
	border-radius: 25%;
	position: relative;
}

section h2{
	font-family: "Dynalight", cursive;
	font-size: 2.5rem;
}

.font-fraunces{
	font-family: "Fraunces", serif;
	font-optical-sizing: auto;
}


#welcome_0 {
	width: 100%;
	height: 100%;
	background: url("../img/fond-01.jpeg") top center;
	/*background: url("../img/pexels-veeterzy-38136.jpg") top center;*/
	background-size: cover;
	background-position: center;
	position: relative;
	color: white;
	background-attachment: fixed;
}
#welcome_0:before {
	content: "";
	background: rgba(0, 0, 0, 0.6);
	position: absolute;
	bottom: 0;
	top: 0;
	left: 0;
	right: 0;
	z-index: 0;
}

#welcome_0 .container{
	z-index: 10;
}

.card-body.font-responsive .card-content{
	/*margin-left: 4%;*/
}
.row.font-responsive{
	justify-content: center;
}

@media (max-width: 990px) {
	#welcome_0 {
		height: auto;
	}
	.font-responsive{
		font-size: 12px;
	}
	.font-responsive h5{
		font-size: 16px;
	}
	.btn{
		font-size: 12px;
	}
}


@media (max-width: 768px) {
	#welcome_0 h1 {
		line-height: 36px;
	}
	.logo-A{
		--taille: 60px;
	}
	#welcome_0 h2 {
		font-size: 20px;
		line-height: 24px;
	}
	.font-responsive .image {
		padding: 0;
	}
	.font-responsive .card-content:first-child {
		margin-left: 2%;
	}
	.font-responsive h5{
		font-size: 14px;
	}
}

@media (max-width: 768px) {
	.font-responsive .image {
		padding: 0.5em 1em;
	}
	.font-responsive .card-content.offset-1{
		margin-left: 4%;
	}
	.font-responsive .card-content{
		width: 30%;
	}
}

@media (max-width: 576px) {
	.logo-A{
		--taille: 50px;
	}
}

.card-title{
	overflow-wrap: normal;
}

.geneanet{
	display: inline-block;
	width: 100%;
	overflow: hidden;
	position: relative;
	border-radius: 5px 5px 0 0;
	background-color: rgb(20, 112, 90);
}
.geneanet img{
	height: 35px;
	padding: 5px 10px;
}
.logo-large{
	margin-top: 20px;
}

.logo-desc{
	font-size: smaller;
	font-style: italic;
	width: 100%;
	text-align: center;
	color: #eecfb2;
	display: inline-block;
	margin-bottom: 2em;
}

.btn-primary.green{
	color: white;
	--bs-btn-bg: #14705a;
	--bs-btn-border-color: #0f5344;
	--bs-btn-hover-bg: #0f5344;
	--bs-btn-hover-border-color: #0c4135;
	--bs-btn-active-bg: #14705a;
	--bs-btn-active-border-color: #0f5344;
}

.btn-primary.fushia{
	color: white;
	--bs-btn-bg: #6b0710;
	--bs-btn-border-color: #57060c;
	--bs-btn-hover-bg: #800c16;
	--bs-btn-hover-border-color: #6b0710;
	--bs-btn-active-bg: #6b0710;
	--bs-btn-active-border-color: #57060c;
}

.card-title strong.fushia{
	color: #cc0099;
}

.external-link.pdf, .external-link.eye{
	position: relative;
	display: block;
}
.external-link.pdf:before, .external-link.eye:before{
	font-family: "bootstrap-icons";
	display: block;
	position: absolute;
	top: -10px;
	right: 0;
	color: #b80e33;
}
.external-link.pdf:before{
	content: "\F30A";
}
.external-link.eye:before{
	content: "\F341";
}

.text-details{
	font-size: smaller;
	font-style: italic;
}



@font-face {
	font-family: "ALGER";
	src: 
		url("./ALGER.woff") format("woff");
}

.idee-cadeau{
	font-family: 'ALGER', 'Times New Roman', Times, serif;
	text-transform: uppercase;
	color: #3458b0;
}

.always-visible{
	--bs-btn-border-color: white;
	--bs-btn-border-width: 3px;
	--size: 80px;
	--offset: 20px;
	position: fixed;
	bottom: var(--offset);
	right: var(--offset);
	border-color: white;
	border-radius: 50%;
	width: var(--size);
	height: var(--size);
	font-size: 38px;
	box-shadow: 0px 0px 8px #000;
	z-index: 255;
}


@media (max-width: 768px) {
	.always-visible{
		--size: 65px;
		--offset: 10px;
		font-size: 32px;
	}
}

.btn-empty{
	position: fixed;
	top: 50%;
	transform: translate(0, -50%);
	background-color: transparent;
	border: none;
	font-size: 2em;
	color: #555;
}
#btnPrevious{
	left: 10px;
}
#btnNext{
	right: 10px;
}

.btn-bar-bottom{
	position: fixed;
	bottom: 10px;
	width: calc(100% - 32px);
	height: 40px;
	display: flex;
	justify-content: center;
}

#zoomModal .btn{
	--bs-btn-hover-color: white;
	--bs-btn-disabled-color: transparent;
	--bs-btn-disabled-border-color: transparent;
	--bs-btn-disabled-bg: transparent;
	--bs-btn-bg: white;
	margin: 0 2em;
}

#imgContainer{
	position: relative;
	height: 100%;
	width: 100%;
}

#imgContainer .imgWrapper{
	height: 100%;
	width: 100%;
	position: absolute;
	display: none;
	text-align: center;
}

#imgContainer .imgWrapper.active, #imgContainer .imgWrapper.in-progress{
	display: block;
}


#thumbnails{
	position: fixed;
	top: 70px;
	right: 10px;
}
#thumbnails .thumbWrapper{
	width: 50px;
	height: 50px;
	border: 1px solid #aaa;
	background-color: white;
	margin-bottom: 1em;
	cursor: pointer;
	position: relative;
}

/* vertical center */
#thumbnails .thumbWrapper img /*, #imgContainer .imgWrapper img*/{
    position: absolute;
    top: 50%;
	left: 50%;
    transform: translate(-50%, -50%);
	max-height: 48px;
	max-width: 48px;
}
#thumbnails .thumbWrapper.active{
	border: 1px solid black;
}

/** **************************************** */
/* Slide effect */

.center-to-left {
	animation: center-to-left 500ms ease-in forwards;
}
  
.left-to-center {
	animation: left-to-center 500ms ease-in forwards;
}
  
.center-to-right {
	animation: center-to-right 500ms ease-in forwards;
}
  
.right-to-center {
	animation: right-to-center 500ms ease-in forwards;
}

@keyframes center-to-left {
	0% {
	  left: 0%;
	}
  
	100% {
	  left: -100%;
	}
}
  
  @keyframes left-to-center {
	0% {
	  left: -100%;
	}
  
	100% {
	  left: 0%;
	}
}
  
  @keyframes center-to-right {
	0% {
	  left: 0%;
	}
  
	100% {
	  left: 100%;
	}
}
  
  @keyframes right-to-center {
	0% {
	  left: 100%;
	}
  
	100% {
	  left: 0%;
	}
}
  
/** **************************************** */