/*
Theme Name: miralenta
Author: danie
Author URI: 
Description: description
Version: 1.0
*/

* {font-family:Calibri;}

article.article-full {line-height: 1.8;}

.wpcf7-form input[type=checkbox] {width:auto!important;}

span.wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 5px; /* espace entre la case et le texte */
}


li.nav-item:last-child {
	text-align:center;
}

a:hover, li.nav-item:last-child:hover {
	text-decoration:none!important;
	color:black!important;
}


li.nav-item:last-child:hover {
	background-color:#ffde59!important;
}

.btn {
	border:none!important;
}

.btn-primary:hover {
	background-color:#ffde59!important;
}

span.wpcf7-list-item-label {
  display: inline;
}

div.my-logo.lim {
	display: flex;
}

.container {
	max-width:1170px!important;
}

div.container.cmenu {
	/*position:fixed;*/
	width:100%;
	/*z-index:100;*/
}

.pad2em {
	padding:2em;
}

h2.text-center.color1 {
	color:white;
}

h3.mb-0.font-weight-bold {
	font-size:20px;
}

a.custom-logo-link {
	margin-right:5px;
}

.article-full.fiche a {
	text-decoration:underline;
	color: black;
	
}

.article-full.fiche a::before {
  content: "\f019"; /* Code Unicode de l'icône Font Awesome (exemple : une enveloppe) */
  font-family: "Font Awesome 6 Free"; /* Définition de la police */
  font-weight: 900; /* Certains icônes nécessitent du font-weight */
  margin-right: 8px; /* Espacement entre l'icône et le texte */
  text-decoration:none;
}

.article-full.fiche strong {
	color: black;
	
}

img.custom-logo {
max-width: 150px;
  height: auto;}
  
a.nav-link {
	margin-left:1em;
}

li.nav-item:last-child {
	border-radius:5px;
}

li.nav-item:last-child a.nav-link {
	
	color:white;
}

header.navbar.navbar-expand-lg.navbar-light {
	margin:auto;
	width: -webkit-fill-available;
	}


.a_menu a{
	text-decoration:none;
    text-transform: uppercase;
}

.a_menu ul {
	  display: inline-flex;
	  list-style: none;
	  padding-left:0;
	  /*grid-gap: 20px;*/
}

div.my-logo {
	display: flex;
	
	margin: auto;
    justify-content: space-between;
    align-items: center;
    
}

a.navbar-brand {
	display:none;
}

input.form-control.me-2::placeholder {
	color:white;
}

input.form-control.me-2 {
	font-weight:100;
	border-color: #e8427f;
}

/*homepage cover image start */

.couverture img {
    max-width: 100%;
    height: auto;
}

.coverimage {
	opacity:0.8;
	position: relative;
    display: inline-block;
	overflow:hidden;
}

.coverimagecontainer {
	position:relative;
    display: inline-block;
	overflow:hidden;
	max-height:600px;
}
.overlay-text {
	color: white;
	text-align:center;
	z-index:10;
	 position:relative;
	 transform:translate(0%, -340%);
	/*padding: 5px;
   
	top:70%; left:50%;
	transform:translate(-50%, -500%); color:white;
	
	
	*/
	
	
	/*background-color: rgba(255, 252, 242, 0.6);*/
	/*background: #fffcf2;*/
	/*color: #c22f65;*/
}



.overlay-text p{
	white-space: nowrap;
	/*font-size: 4rem;*/
	font-weight:700;
}

/*homepage cover image end */

/*section start */

section {
	margin-top:25px;
	margin-bottom:25px;
}

section.section_p {
	background-color:#e5e5e5!important;
} 



/*section end */  

.white-text {
	color:white;
}    

.article-excerpt {
background-color: white;
  padding: 15px;
 }  
 
 /*fit content*/
 
 .ft {
	 width:fit-content;
 }
 
 .acc {
	 align-content : center!important;
 }
 
 .article-full{
	 margin-top:2em;
 }
 
 article.article-full.fiche {
	padding-right: 1em;
    padding-left: 1em;
    padding-bottom: 0.5em;
    border-radius: 5px;
    border: 0.5px solid grey;
 }
 
 /*contact form 7 button*/
 input[type=submit]  {
     border: none;
    padding: 10px;
    border-radius: 5px;
    color: white;
 }
 
 input.mailpoet_submit:hover, input.wpcf7-form-control.wpcf7-submit.has-spinner:hover  {
    background-color: #ffde59!important;
    color: black!important;
 }
 
 .wpcf7-form {
  max-width: 65%;
 }
 
.wpcf7-form input, .wpcf7-form textarea {
  width: 100%;
 }

 
 .wpcf7-submit {
	 width:auto!important;
 }
 
 span.wpcf7-list-item.first.last {
	 margin-left:0!important;
 }

textarea { 
resize:none!important;
}
 
 /*footer newsletter */
 #mailpoet_form_1 {
	 background-color:unset!important;
 }
 
 .bg-yellow {
	 background:#fffcf2;
 }
 
 footer i {
	 font-size: 1.5em;
 }
 

 ul#menu-menu.navbar-nav {
	 background-color:white;
 }

@media (min-width: 991px) {
	
	h2.card-title {
		min-height:155px;
	}
	
	p.card-text{
		 display: -webkit-box;
  -webkit-line-clamp: 6; /* Remplace 3 par le nombre de lignes souhaité */
  -webkit-box-orient: vertical;
  overflow: hidden;
	}
	
	li.nav-item:last-child a.nav-link {
	margin-left:0;

}
	
	section.color_link {
	    /*margin-top: -5px;*/
}
	
	.overlay-text p.site-slogan {
	font-size:25px;
}
	
	div.stickymenu {
		background: #fff;
		height: auto;
		z-index: 50;
		margin: 0 auto;
		border-bottom: 1px solid #dadada;
		width: 100%;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		text-align: center;
}

.article-title.white-text {
	min-height: 135px;
}

p.article-excerpt {
	min-height: 250px;
}

div.article-excerpt h3 {
	min-height:135px;
}


div.card-body {
	min-height: 370px;
}

section.color_link {
    margin-top: -135px;
}

.overlay-text p{
	/*font-size: 4rem;*/
font-size: 50px;}

div.coverimagecontainer{
margin-top: 88px;
}

div.overlay-text h1{
	font-size: 50px;
}

	
	
 body.customize-support div.container.cmenu {
    margin-top:30px;
}
	
	div.cjoinus .wpcf7-form {
    max-width: 95%;
}
	

	
	form.d-flex {
		width:50%;
	}
	
	div.color2bg.pad2em {
		margin-top:96px;
		background-color:#fffcf2;
	}
	

}


@media (max-width: 991px)  and (min-width: 768px){
	
	h2.card-title {
		min-height:235px;
	}
	
	p.card-text{
		 display: -webkit-box;
  -webkit-line-clamp: 8; /* Remplace 3 par le nombre de lignes souhaité */
  -webkit-box-orient: vertical;
  overflow: hidden;
	}
}

@media (max-width: 991px)  and (min-width: 601px){
	
	
	li.nav-item:last-child a.nav-link {
	    padding-right: 15px;
	
}
	
	
	    div.color2bg.pad2em {
        background-color: #fffcf2;
    }
	
	img.custom-logo {
		/*display:none;*/
	}
	
	section.color_link {
    margin-top:-70px;
}
	
	header.navbar.navbar-expand-lg.navbar-light {
		min-width: auto!important;}
		
		
	h1{
		white-space: unset;
		font-size:15px;
	}

	div.overlay-text {
		top:50%;
		/*width: 90%;*/
	}
	
		.wpcf7-form {
    max-width: 100%;
}
	
#wpadminbar {
	display:none;
}	


}

@media (max-width: 600px) {
	
	li.nav-item:last-child a.nav-link {
	    padding-right: 15px;
	
}
		
	
div.overlay-text {
		top:50%;
		/*width: 90%;*/
		margin-top:2em;
	}
	
    div.color2bg.pad2em {
        background-color: #fffcf2;
    }
	
section.color_link {
    margin-top: -130px;
}
	
.overlay-text p{
		white-space: unset;
		font-size:1em;
	}
		.wpcf7-form {
    max-width: 100%;
}	

#wpadminbar {
	display:none;
}


}


