/*
Theme Name: Alberti-ing
Version: 1.0
Author: Tris Informatique
Author URI: http://www.trisinformatique.com
Template: enfold
*/
#top .av-burger-overlay,
#top .av-burger-overlay-scroll,
#top .av-burger-overlay-bg{
	height:100vh;
}
:root{
	--primary-color:var(--blue-primary);
	--blue-primary:#265787;
	--dark-grey:#707173;
	--light-grey:#f2f2f3;
	--white-20: rgba(255,255,255,0.2);
	--border-width-slim:2px;
	--border-width:5px;
}

/**********
 * HEADER *
 * ********/
#top #header_main .logo{
	padding:20px;
	background-color:white;
}
#header { 
	background: #fff !important; 
}
#top .main_menu .sub-menu{
	width:fit-content;
	min-width:100%;
}
#top .main_menu .sub-menu a{
	width: max-content;
	min-width:100%;
}

/**********
 * Divers *
 * ********/
.special_amp {
font-family: inherit;
font-style: inherit;
font-size: inherit;
line-height: inherit;
font-weight: inherit;
color: inherit !important;
}
/*images*/
.av-image-caption-overlay,
.avia-image-container-inner,
.avia_image,
img {
  border-radius: 0;
}
/*images logo hover*/
#top .image-overlay .image-overlay-inside::before{
	border-radius:0;
}

/*Bouton retour*/
#top .trs-back-btn  a.avia-button::after{
	content:'';
	position:absolute;
	left:0;
	top:0;
	height: calc(100% - (2 * var(--border-width-slim)));
	width: calc(100% - (2 * var(--border-width-slim)));
	transition:transform 0.3s ease-in-out;
	transform: skewX(-11deg);
	border: var(--border-width-slim) solid var(--dark-grey);
}
#top .trs-back-btn a.avia-button:hover::after{
	border-color:var(--primary-color);
	transform: skewX(0deg);
}

/* Masonry */
#top .trs-realisations .av-sort-by-term .text-sep {
	display:none;
}
#top .trs-realisations .av-sort-by-term a  {
	position:relative;
	padding:5px 15px;
	margin:10px;
}
#top .trs-realisations .av-sort-by-term a::after{
	content:'';
	position:absolute;
	left:0;
	top:0;
	height: calc(100% - (2 * var(--border-width-slim)));
	width: calc(100% - (2 * var(--border-width-slim)));
	transition:transform 0.3s ease-in-out;
	transform: skewX(-11deg);
	border: var(--border-width-slim) solid var(--dark-grey);
}
#top .trs-realisations .av-sort-by-term a .inner_sort_button {
	transition:transform 0.3s ease-in-out;
	display:block;
	font-size:18px;
}

#top .trs-realisations .av-sort-by-term a.active_sort::after,
#top .trs-realisations .av-sort-by-term a:hover::after{
	border-color:var(--primary-color);
	transform: skewX(0deg);
}

#top .trs-realisations .av-inner-masonry::before {
	z-index:2;
	visibility:visible;
	content:'';
	position:absolute;
	left:0;
	top:0;
	margin:-30px;
	height:50px;
	width:50px;
	border:var(--border-width) solid var(--primary-color);
	transform: rotate(45deg);
	background-color:white;
}
#top .trs-realisations .av-masonry-outerimage-container::after {
	z-index:3;
	content:'';
	position:absolute;
	opacity:0;
	width:100%;
	height:100%;
	top:0;
	left:0;
	background-image:url('/wp/wp-content/uploads/2024/11/logo_a.svg');
	background-position:right;
	background-size:contain;
	background-repeat:no-repeat;
	transition: opacity 1.5s ease-in-out;
}
#top .av-hover-overlay-grayscale .av-masonry-entry:hover .av-masonry-outerimage-container::after {
    opacity: 0; /* Supprime le "A" sur le survol */
}

#top .av-hover-overlay-grayscale .av-masonry-entry:active .av-masonry-outerimage-container::after {
    opacity: 1; /* Affiche le "A" uniquement au clic */
    transition: opacity 0s ease-in-out; /* Apparition rapide */
}
/*space between col */
#top .av-inner-masonry{
	margin:25px;
}
#top .av-inner-masonry .av-masonry-entry-title{
	text-align:center;
}

/*custom icon pour les prestations*/
.custom-portfolio-icon{
	position:absolute;
	top:-20px;
	left:10px;
	height:40px;
	width:40px;
	padding:0;
	border:var(--border-width-slim) solid white;
	background-color:var(--primary-color);
}


/*Timeline */
#top .avia-timeline .milestone_icon:not(.milestone-icon-hasborder),
#top .avia-timeline .milestone_icon:not(.milestone-icon-hasborder) .milestone_inner{
	border:none;
	background-color:transparent;
}
#top .avia-timeline .milestone_icon:not(.milestone-icon-hasborder) .milestone_number{
	display:none;
}
#top .avia-timeline .milestone_icon,
#top .avia-timeline .milestone_inner{
	height:140px;
	width:140px;
	padding:0;
	border-radius:0;
}
#top .av-milestone-indicator,
#top .av-milestone-article-footer.entry-footer{
	background-color:var(--primary-color);
}
#top .av-milestone-indicator:before,
#top .av-milestone-article-footer.entry-footer:after{
	height:8px;
	width:8px;
	background-color:var(--primary-color);
}
#top .av-milestone-indicator:before{
	margin-top:-3px;
}
#top .av-milestone-article-footer.entry-footer:after{
	margin-left:-4px;
}
.avia-timeline-horizontal .av-milestone-icon-wrap::after{
	height: var(--border-width-slim);
	border-top-width: var(--border-width-slim);
	border-color: var(--primary-color);
	background-color:transparent;
}
#top #main .av-timeline-nav a.av-nav-btn {
  background: transparent;
  width: 40px !important;
  height: 40px;
  border: none;
  color: var(--primary-color);
}

#top #main .av-timeline-nav a::before {
  background: transparent;
  font-size: 38px;
  line-height: 38px;
}
/*HOME CARDS*/
.trs-home-card {
   position:relative;
	max-width:400px;
}
@media only screen and (max-width:989px){
	.responsive #top #wrap_all .flex_column.trs-home-card{
		margin:auto;
		margin-bottom:40px;
	}
	#top .flex_column_table.av-equal-height-column-flextable:not(:first-child){
		margin-top:0;
	}
}
/*image header*/
.trs-home-card .avia-image-container{
   height: 250px;
	overflow:hidden;
	border-bottom: var(--border-width-slim) solid var(--light-grey);
}
.trs-home-card .avia-image-container .avia-image-container-inner,
.trs-home-card .avia-image-container .avia-image-container-inner .avia-image-overlay-wrap{
	height:100%;
	width:100%;
}
.trs-home-card .avia-image-container::before{
	z-index:2;
	content:'';
	position:absolute;
	left:0;
	top:0;
	margin: -57px;
	height:105px;
	width:105px;
	border:var(--border-width) solid var(--primary-color);
	/*clip-path: polygon(0 0, 0% 100%, 100% 0);*/
	transform: rotate(45deg);
	background-color:white;
}
.trs-home-card .avia-image-container img{
	position:absolute;
	left:50%;
	transform:translateX(-50%);
	min-width:100%;
	width: auto;
	max-width: none;
	height: 100%;
	border-radius:0;
}
/*icon*/
.trs-home-card span.av_font_icon{
	z-index:3;
	position: absolute;
  	top: 248px;
	left:30px;
	height:70px;
	width:70px;
  	transform: translateY(-50%);
	margin: 0;
  	padding: 10px;
  	border-radius: 0;
	border:none;
  	background: var(--light-grey);

}
.trs-home-card span.av_font_icon span.av-icon-char{
		line-height:60px;
}

/*text*/
.trs-home-card .av_textblock_section{
	margin-top: 20px;
}
.trs-home-card .av_textblock_section .avia_textblock{
	padding:30px;
}
#top #wrap_all .trs-home-card .av_textblock_section .avia_textblock h3{
	margin-bottom:0;
	text-transform:uppercase;
	
}
#top #wrap_all .trs-home-card .av_textblock_section .avia_textblock span.subtitle{
	font-size: 16px;
	line-height:20px;
}
#top #wrap_all .trs-home-card .av_textblock_section .avia_textblock p{
	margin:0;
}
#top #wrap_all .trs-home-card .av_textblock_section .avia_textblock p.txt-body{
	margin-top:0.85em;
	font-size:0.9em;
	line-height:1.5em;
}

/*btn*/
.trs-home-card .avia-buttonrow-wrap{
	height:50px;
}
.trs-home-card .avia-buttonrow-wrap a:nth-child(1){
	position:absolute;
	right:0;
	bottom:0;
}
.trs-home-card .avia-buttonrow-wrap a:nth-child(2){
	position:absolute;
	bottom:0;
	right:0;
}
.trs-home-card{
	border-bottom:var(--border-width-slim) solid var(--light-grey);
}
/*END HOME CARDS*/

/*grille flip*/
#top .avia-icongrid .avia-icongrid-icon{
	font-size:60px;
}
#top .avia-icongrid .avia-icongrid-text{
	text-align:left;
}
#top .avia-icongrid .avia-icongrid-text ul li{
	margin-bottom:0;
}
/*all Button*/
#top .nf-field .submit-wrap .nf-field-element input[type="submit"],
#top button.ninja-forms-field,
#top a.avia-button{
	background-color:transparent;
	border-bottom:none;
}

#top .nf-field .submit-wrap .nf-field-element::after,
#top button.ninja-forms-field::after,
#top a.avia-button::after{
	content:'';
	position:absolute;
	left:0;
	top:0;
	height: calc(100% - (2 * var(--border-width-slim)));
	width: calc(100% - (2 * var(--border-width-slim)));
	transition:transform 0.3s ease-in-out;
	transform: skewX(-11deg);
	border: var(--border-width-slim) solid var(--dark-grey);
	box-sizing:content-box;
}
#top .nf-field .submit-wrap .nf-field-element input[type="submit"]{
	z-index:10;
	position:inherit;
}
#top .nf-field .submit-wrap .nf-field-element input[type="submit"],
#top button.ninja-forms-field,
#top a.avia-button span {
	transition:transform 0.3s ease-in-out;
	font-size:18px;
	color:var(--dark-grey);
}
#top .nf-field .submit-wrap .nf-field-element:hover input[type="submit"],
#top button.ninja-forms-field:hover,
#top a.avia-button.active span,
#top a.avia-button:hover span {
	color:var(--primary-color);
}

#top .nf-field .submit-wrap .nf-field-element:hover::after,
#top button.ninja-forms-field:hover::after,
#top a.avia-button.active::after,
#top a.avia-button:hover::after{
	border-color:var(--primary-color);
	transform: skewX(0deg);
}
/*Toggle sections with Btns*/
.toggle-section {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.toggle-section[style="display: block;"] {
    opacity: 1;
}
/*Accordéon*/
#top .av-elegant-toggle .toggle_icon{
	opacity:1;
}
#top .av-elegant-toggle .activeTitle{
	border-bottom:0;
}
#top .av-elegant-toggle .toggle_content{
	padding-top:0;
}
/*Gallery*/
#top .trs-gallery .avia-gallery-thumb{
	display:flex;
	justify-content:center;
	column-gap:80px;
}
#top .trs-gallery .avia-gallery-thumb a{
	max-width:140px;
}
#top .trs-gallery.avia-gallery img{
	border:none;
}

/*coin bizeauté*/
#top .trs-notched{
	position:relative;
	overflow: hidden;
	padding-left:10px;
}
#top .trs-notched::before{
	z-index:2;
	visibility:visible;
	content:'';
	position:absolute;
	left:0;
	top:0;
	margin: -30px;
	height:50px;
	width:50px;
	border:var(--border-width) solid var(--primary-color);
	transform: rotate(45deg);
	background-color:white;
}
/*Slider Pleine écran*/
#top .avia-slideshow.tris-homepage-slider li.av-single-slide,
#top .avia-slideshow.tris-homepage-slider .avia-caption-title,
#top .avia-slideshow.tris-homepage-slider .avia-caption-content,
#top .avia-slideshow.tris-homepage-slider .avia-slideshow-button {
	-webkit-animation: 0s ease 0s normal none 1 running none !important;
	animation: 0s ease 0s normal none 1 running none !important;
	visibility: visible !important;
	opacity: 1 !important;
}
#top h1.avia-caption-title,
.template-page .entry-content-wrapper h1.av-special-heading-tag {
	text-transform:uppercase;
	letter-spacing:1px;
	font-weight:bold;
	line-height:normal;
}
.single-realisation .template-page .entry-content-wrapper h1.av-special-heading-tag {
	font-weight:300;
}

/* Animation personnalisée pour fade-in depuis la gauche */
@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translate3d(-100px,0,0); /* Déplacement initial vers la gauche */
    }
    100% {
        opacity: 1;
        transform: translatez(0); /* Position finale */
    }
}

/* Appliquer l'animation à l'élément principal */
.slideshow_align_caption {
    animation: fadeInLeft 1.2s ease-out forwards 1s;
    opacity: 0; /* Initialement invisible */
}
#top .avia-slideshow.tris-homepage-slider .av-section-color-overlay{
	background-repeat:no-repeat !important;
	background-size: contain;
	background-position: right;
}
#top .avia-slideshow.tris-homepage-slider .caption_container{
	max-width:100%;
}
#top .avia-slideshow.tris-homepage-slider .caption_container .slideshow_align_caption{
	vertical-align:bottom;
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
	#top .avia-slideshow.tris-homepage-slider .slideshow_caption{
		padding-bottom:60px;
	}
}
#top .avia-slideshow.tris-homepage-slider .slideshow_align_caption .avia-caption-title,
#top .avia-slideshow.tris-homepage-slider .slideshow_align_caption .avia-caption-content{
	background-color:rgba(0, 102, 153,0.7);
	margin:0;
	padding:10px;
}
#top .avia-slideshow.tris-homepage-slider .slideshow_align_caption .avia-caption-title{
	padding-bottom:0;
	line-height:normal;
}

/*titre de page*/
#top .trs-title-container .container{
	max-width:100%;
	padding:0;
}
#top #main .trs-title-container .container .content{
	vertical-align:bottom;
	width:42%;
}
#top .trs-page-title.av-special-heading{
	padding:0 50px;
}
@media only screen and (max-width: 767px){
	#top #main .trs-title-container .container .content{
		width:100%;
	}
	#top .trs-page-title.av-special-heading{
		padding:0;
	}
}
@media only screen and (max-width: 479px){
	#top #main .trs-title-container .container .content{
		padding-bottom:0;
	}
	#top .trs-page-title .av-subheading{
		font-size:13px;
	}
}

#top .trs-page-title .av-special-heading-tag,
#top .trs-page-title .av-subheading{
	padding:10px;
	background-color:rgba(0, 102, 153,0.7);
	color:white;
	width:100%;
	max-width:100%;
}

#top .trs-page-title .av-special-heading-tag{
	padding-bottom:0;
}

#top .trs-page-title .av-subheading{
	padding:25px 10px;
	margin-top:0;
}
/*Titre souligné*/
#top .trs-special-underline{
	position: relative;
	margin-bottom: 15px;
}
#top .trs-special-underline::after{
	z-index: -1;
	content:'';
	position: absolute;
	bottom:0;
	left:0;
	height:var(--border-width);
	width:100%;
	background-color:var(--primary-color);
}
#top .trs-special-underline .av-special-heading-tag {
	z-index:2;
	position:relative;
	padding-left:20px;
}

/* ninja-form styling */

#top .nf-field-description {
	z-index:100;
}
/*only for checkbox consent*/
.checkbox-container.label-right .checkbox-wrap{
	flex-direction:column;
}
#top .nf-multi-cell .nf-cell{
	padding:0;
	padding-right:5px;
}
#top .nf-form-content {
	padding-left:0;
}
/*btn*/
#top .nf-field .submit-wrap .nf-field-element{
	width: fit-content;
	margin-left: 6px;
}
#top .nf-field .nf-field-element button{
	margin-left: 6px;
}
#top .nf-field .nf-field-element button,
#top .nf-field .submit-wrap .nf-field-element input[type="submit"]{
	padding:15px 30px;
	overflow:visible;
}
#top .nf-fu-progress{
	border-radius:0;
	height:var(--border-width);
}
#top #ninja_forms_required_items,
.nf-field-container {
    margin-bottom: 0px !important;
}
#top label{
font-weight:400;	
}

#top .nf-field-element input[type="text"],
#top .nf-field-element input[type="email"],
#top .nf-field-element input[type="tel"]
{
	margin-bottom: 0 !important;
}
button,
input[type="button"] {
    cursor: pointer;
}
/*END ninja form */


/* Slider Actualités */
#top .trs-actualites .avia-content-slider-inner{
	/*min-height:270px;*/
	display: grid;
	grid-template-rows: 1fr; /* Force chaque .content à occuper la même hauteur */
	height: auto !important; /* Permet d'éviter les sauts de hauteur */
	overflow: hidden;
}
#top .trs-actualites .avia-content-slider .slide-entry-wrap{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
}

#top .trs-actualites article.slide-entry{
	display:flex;
	column-gap:50px;
	margin-bottom:0 !important;
}
#top .trs-actualites .slide-image,
#top .trs-actualites .slide-content{
	flex:1;
}
#top .trs-actualites .slide-content{
	padding:10px 0;
}
#top .trs-actualites .slide-image{
	display:flex;
	justify-content:center;
	align-items:center;
	border-radius:0;
	margin-bottom:0;
	background:transparent;
}
#top .trs-actualites .slide-image img{
	border-radius:0;
}
#top .trs-actualites .entry-footer,
#top .trs-actualites .hidden{
	display:none;
}
#top .trs-actualites.av-slideshow-ui .avia-slideshow-arrows.av-visible-prev > a.prev-slide,
#top .trs-actualites.av-slideshow-ui .avia-slideshow-arrows.av-visible-prev > a.next-slide{
	top: calc(50% - 12px);
}

#top .av-slideshow-ui .avia-slideshow-arrows.av-visible-prev > a.prev-slide,
#top .av-slideshow-ui .avia-slideshow-arrows.av-visible-next > a.next-slide,
#top .av-slideshow-ui.av-loop-endless .avia-slideshow-arrows > a,
#top .av-slideshow-ui.av-loop-manual-endless .avia-slideshow-arrows > a,
#top .avia-slideshow-arrows a{
	height:50px;
	width:50px;
	top:50%;
}
#top .av-control-minimal .avia-slideshow-arrows a::before{
	border:none;
	line-height:50px;
}


@media only screen and (max-width:990px){
	#top .trs-actualites article.slide-entry{
		flex-direction:column;
		padding:0 50px;
	}
}

/* PAGE Réalisation*/
#top.single-realisation .main_color{
	background-image:url('/wp/wp-content/uploads/2024/11/logo_a.svg');
	background-position:right;
	background-size:contain;
	background-repeat:no-repeat;
}
#top .av-horizontal-gallery {
	margin: 0 50px 20px 50px;
}
#top .av-horizontal-gallery .avia-slideshow-arrows a{
	margin:-30px 0;
}
#top .av-horizontal-gallery .avia-slideshow-arrows a.next-slide {
    right: -50px;
}
#top .av-horizontal-gallery .avia-slideshow-arrows a.prev-slide {
    left: -50px;
}
#top .av-horizontal-gallery .avia-slideshow-dots a {
	bottom:0;
}
.av-horizontal-gallery {
    overflow: visible;
}
#top .av-horizontal-gallery .av-horizontal-gallery-inner {
    overflow: hidden;
}
@media only screen and (max-width: 767px) {
  .responsive .av-horizontal-gallery-inner {
    position: inherit;
  }
}
#top .av-horizontal-gallery .av-horizontal-gallery-wrap{
	opacity:.6;
}
#top .av-horizontal-gallery .av-horizontal-gallery-wrap:hover,
#top .av-horizontal-gallery .av-horizontal-gallery-wrap.av-active-gal-item{
	opacity:1;
}
#top .av-horizontal-gallery .av-horizontal-gallery-link{
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(0, 102, 153,0.7);
	height:100%;
	width:100%;
	bottom: 0px;
	right: 0px;
}
#top .av-horizontal-gallery .av-horizontal-gallery-link:before{
	font-size:40px;
}
#top .av-horizontal-gallery .av-horizontal-gallery-link:hover{
	transform:scale(1);
}
#top .avia-post-nav { display: none; }

/* Icones page contact*/
#top .trs-contact .iconbox{
	margin-bottom:50px;
}
#top .trs-contact .av-icon-style-no-border .iconbox_icon{
	width:30px;
	font-size:30px;
	line-height:30px;
}
#top .trs-contact table{
	margin-top:20px;
}

/*Google Maps*/
#top .avia-google-maps .gm-style-iw-c{
	border-radius:0;
}
/*lien haut de page*/
#scroll-top-link.avia_pop_class{
	opacity:0.8;
	background-color:white;
	color:var(--primary-color);
	border-radius:0;
	border: var(--border-width-slim) solid var(--primary-color);
	font-size:25px;
	line-height:45px;
}
#scroll-top-link.avia_pop_class:hover{
    background-color:var(--primary-color);
	border: var(--border-width-slim) solid var(--primary-color);
	color:white;
}
/**********
 * FOOTER *
 * ********/
#footer .first img {
	filter: invert(1);
}
#footer .first section {
	overflow:visible;
}
#footer .first .textwidget p::before{
	content:'';
	opacity:0.3;
	position:absolute;
	width:382px;
	height:300px;
	top:-40px;
	left:-244px;
	background-image:url('/wp/wp-content/uploads/2024/11/logo_a.svg');
	background-position:right;
	background-size:contain;
	background-repeat:no-repeat;
}
@media only screen and (max-width:1300px){
	#footer .first .textwidget p::before{
		display:none;
	}
}
/* Réinitialiser le style du tableau */
#top table,
#footer table {
    border-collapse: collapse;
	border:none;
    width: 100%;
    margin: 0;
    padding: 0;
	background-color:transparent;
}
#top table tr td,
#footer table tr td {
    padding: 8px; /* Espacement intérieur */
    text-align: left; /* Alignement du texte */
}
#top table tr td{
	border-bottom: 1px solid var(--primary-color); /* Bordure uniquement en bas des cellules */
    border-right: 1px solid var(--primary-color); /* Bordure à droite des cellules */
}
#footer table tr td {
	border-bottom: 1px solid var(--white-20); /* Bordure uniquement en bas des cellules */
    border-right: 1px solid var(--white-20); /* Bordure à droite des cellules */
}
#top table tr td:last-child,
#footer table tr td:last-child {
    border-right: none; /* Pas de bordure à droite pour la dernière cellule */
}
#top table tr:last-child td,
#footer table tr:last-child td {
    border-bottom: none; /* Pas de bordure en bas pour la dernière rangée */
}
#top table th,
#footer table th {
    padding: 8px; /* Espacement intérieur */
    text-align: left; /* Alignement du texte */
    background-color: var(--white-20); /* Couleur de fond pour l'en-tête */
    font-weight: bold; /* Texte en gras */
}
#top table tr:nth-child(even),
#footer table tr:nth-child(even) {
    background-color: transparent; /* Couleur de fond alternée */
}
#top table tr:hover,
#footer table tr:hover {
    background-color: transparent; /* Couleur de fond au survol */
}

/* Retirer tout style supplémentaire spécifique d'Enfold */
#top table * ,
#footer table * {
    all: unset;
    display: revert; /* Rétablir l'affichage par défaut */
}
#socket{
	border-top: none;
}
#top .social_bookmarks{
	height:40px;
}
#socket .social_bookmarks li,
#top .social_bookmarks li a{
	border-radius:0;
	width:40px;
	min-height:40px;
	line-height:40px;
	font-size:20px;
}
#socket a{
	text-decoration:underline;
}
#socket .social_bookmarks a{
	text-decoration:none;
}

